Mercurial > hg > graal-compiler
diff src/share/vm/runtime/globals.hpp @ 8040:a83cd101fd62
8005452: NPG: Create new flags for Metaspace resizing policy
Reviewed-by: johnc, jwilhelm, coleenp, stefank
author | jmasa |
---|---|
date | Wed, 23 Jan 2013 19:08:04 -0800 |
parents | f64ffbf81af5 |
children | 5fc51c1ecdeb a252e688abcf d4a32a6f8c82 |
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp Mon Feb 11 15:24:48 2013 -0800 +++ b/src/share/vm/runtime/globals.hpp Wed Jan 23 19:08:04 2013 -0800 @@ -3010,10 +3010,16 @@ "Min change in heap space due to GC (in bytes)") \ \ product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K), \ - "Min expansion of permanent heap (in bytes)") \ + "Min expansion of Metaspace (in bytes)") \ + \ + product(uintx, MinMetaspaceFreeRatio, 40, \ + "Min percentage of Metaspace free after GC to avoid expansion") \ + \ + product(uintx, MaxMetaspaceFreeRatio, 70, \ + "Max percentage of Metaspace free after GC to avoid shrinking") \ \ product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ - "Max expansion of permanent heap without full GC (in bytes)") \ + "Max expansion of Metaspace without full GC (in bytes)") \ \ product(intx, QueuedAllocationWarningCount, 0, \ "Number of times an allocation that queues behind a GC " \