Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 4729:1cbe7978b021
7113021: G1: automatically enable young gen size auto-tuning when -Xms==-Xmx
Summary: Use a percentage of -Xms as min and another percentage of -Xmx as max for the young gen size
Reviewed-by: tonyp, johnc
author | brutisso |
---|---|
date | Wed, 21 Dec 2011 22:13:31 +0100 |
parents | a88de71c4e3a |
children | 1d6185f732aa |
comparison
equal
deleted
inserted
replaced
4728:441e946dc1af | 4729:1cbe7978b021 |
---|---|
287 "Raise a fatal VM exit out of memory failure in the event " \ | 287 "Raise a fatal VM exit out of memory failure in the event " \ |
288 " that heap expansion fails due to running out of swap.") \ | 288 " that heap expansion fails due to running out of swap.") \ |
289 \ | 289 \ |
290 develop(uintx, G1ConcMarkForceOverflow, 0, \ | 290 develop(uintx, G1ConcMarkForceOverflow, 0, \ |
291 "The number of times we'll force an overflow during " \ | 291 "The number of times we'll force an overflow during " \ |
292 "concurrent marking") | 292 "concurrent marking") \ |
293 \ | |
294 develop(uintx, G1DefaultMinNewGenPercent, 20, \ | |
295 "Percentage (0-100) of the heap size to use as minimum " \ | |
296 "young gen size.") \ | |
297 \ | |
298 develop(uintx, G1DefaultMaxNewGenPercent, 50, \ | |
299 "Percentage (0-100) of the heap size to use as maximum " \ | |
300 "young gen size.") | |
293 | 301 |
294 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG) | 302 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG) |
295 | 303 |
296 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP | 304 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP |