Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 6007:5c86f8211d1e
7160728: Introduce an extra logging level for G1 logging
Summary: Added log levels "fine", "finer" and "finest". Let PrintGC map to "fine" and PrintGCDetails map to "finer". Separated out the per worker information in the G1 logging to the "finest" level.
Reviewed-by: stefank, jwilhelm, tonyp, johnc
author | brutisso |
---|---|
date | Fri, 13 Apr 2012 01:59:38 +0200 |
parents | 2a0172480595 |
children | f7a8920427a6 |
comparison
equal
deleted
inserted
replaced
5994:4a32c51458b9 | 6007:5c86f8211d1e |
---|---|
24 | 24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP | 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP | 26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP |
27 | 27 |
28 #include "runtime/globals.hpp" | 28 #include "runtime/globals.hpp" |
29 | |
30 // | 29 // |
31 // Defines all globals flags used by the garbage-first compiler. | 30 // Defines all globals flags used by the garbage-first compiler. |
32 // | 31 // |
33 | 32 |
34 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw) \ | 33 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw) \ |
307 product(uintx, G1MixedGCCountTarget, 4, \ | 306 product(uintx, G1MixedGCCountTarget, 4, \ |
308 "The target number of mixed GCs after a marking cycle.") \ | 307 "The target number of mixed GCs after a marking cycle.") \ |
309 \ | 308 \ |
310 develop(uintx, G1OldCSetRegionThresholdPercent, 10, \ | 309 develop(uintx, G1OldCSetRegionThresholdPercent, 10, \ |
311 "An upper bound for the number of old CSet regions expressed " \ | 310 "An upper bound for the number of old CSet regions expressed " \ |
312 "as a percentage of the heap size.") | 311 "as a percentage of the heap size.") \ |
312 \ | |
313 experimental(ccstr, G1LogLevel, NULL, \ | |
314 "Log level for G1 logging: fine, finer, finest") | |
313 | 315 |
314 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) | 316 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) |
315 | 317 |
316 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP | 318 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP |