comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 3316:cd8e33b2a8ad

7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this. Summary: We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again. Reviewed-by: johnc, brutisso
author tonyp
date Fri, 29 Apr 2011 12:40:49 -0400
parents 49a67202bc67
children ff53346271fe
comparison
equal deleted inserted replaced
3315:da0fffdcc453 3316:cd8e33b2a8ad
309 "When ReduceInitialCardMarks is true, this flag setting " \ 309 "When ReduceInitialCardMarks is true, this flag setting " \
310 " controls whether G1 allows the RICM optimization") \ 310 " controls whether G1 allows the RICM optimization") \
311 \ 311 \
312 develop(bool, G1ExitOnExpansionFailure, false, \ 312 develop(bool, G1ExitOnExpansionFailure, false, \
313 "Raise a fatal VM exit out of memory failure in the event " \ 313 "Raise a fatal VM exit out of memory failure in the event " \
314 " that heap expansion fails due to running out of swap.") 314 " that heap expansion fails due to running out of swap.") \
315 \
316 develop(uintx, G1ConcMarkForceOverflow, 0, \
317 "The number of times we'll force an overflow during " \
318 "concurrent marking")
315 319
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) 320 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)
317 321
318 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP 322 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP