Skip to content

Commit

Permalink
[GC] Port G1ElasticHeap to dragonwell
Browse files Browse the repository at this point in the history
Summary: G1ElasticHeap to support heap shrink/expansion in runtime

Test Plan:
test/elastic-heap/

Reviewers:

Issue:
dragonwell-project/dragonwell8#46

CR:
#12
  • Loading branch information
mmyxym committed Sep 20, 2019
1 parent b0fb410 commit 7e111f6
Show file tree
Hide file tree
Showing 41 changed files with 4,749 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public enum GCCause {
_g1_inc_collection_pause ("G1 Evacuation Pause"),
_g1_humongous_allocation ("G1 Humongous Allocation"),

_g1_elastic_heap_trigger_gc("Elastic Heap triggered GC"),

_last_ditch_collection ("Last ditch collection"),
_last_gc_cause ("ILLEGAL VALUE - last gc cause - ILLEGAL VALUE");

Expand Down
9 changes: 9 additions & 0 deletions make/linux/makefiles/mapfile-vers-debug
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ SUNWprivate_1.1 {
JVM_DumpAllStacks;
JVM_DumpThreads;
JVM_EnableCompiler;
JVM_ElasticHeapGetEvaluationMode;
JVM_ElasticHeapSetYoungGenCommitPercent;
JVM_ElasticHeapGetYoungGenCommitPercent;
JVM_ElasticHeapSetUncommitIHOP;
JVM_ElasticHeapGetUncommitIHOP;
JVM_ElasticHeapGetTotalYoungUncommittedBytes;
JVM_ElasticHeapSetSoftmxPercent;
JVM_ElasticHeapGetSoftmxPercent;
JVM_ElasticHeapGetTotalUncommittedBytes;
JVM_Exit;
JVM_FillInStackTrace;
JVM_FindClassFromCaller;
Expand Down
9 changes: 9 additions & 0 deletions make/linux/makefiles/mapfile-vers-product
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ SUNWprivate_1.1 {
JVM_CurrentClassLoader;
JVM_CurrentLoadedClass;
JVM_CurrentThread;
JVM_ElasticHeapGetEvaluationMode;
JVM_ElasticHeapSetYoungGenCommitPercent;
JVM_ElasticHeapGetYoungGenCommitPercent;
JVM_ElasticHeapSetUncommitIHOP;
JVM_ElasticHeapGetUncommitIHOP;
JVM_ElasticHeapGetTotalYoungUncommittedBytes;
JVM_ElasticHeapSetSoftmxPercent;
JVM_ElasticHeapGetSoftmxPercent;
JVM_ElasticHeapGetTotalUncommittedBytes;
JVM_CurrentTimeMillis;
JVM_DefineClass;
JVM_DefineClassWithSource;
Expand Down
Loading

0 comments on commit 7e111f6

Please sign in to comment.