comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 6610:f99a36499b8c

7192128: G1: Extend fix for 6948537 to G1's BOT Summary: G1 does not appear to be immune to the issue described in CR 6948537 and increasing the size of old-generation PLABs appears to increase the liklihood of seeing the issue. Extend the fix for 6948537 to G1's BlockOffsetTable. Reviewed-by: brutisso, jmasa
author johnc
date Tue, 21 Aug 2012 10:05:57 -0700
parents aaf61e68b255
children 7383557659bd
comparison
equal deleted inserted replaced
6597:3958f0acde31 6610:f99a36499b8c
1932 } 1932 }
1933 1933
1934 clear_cset_start_regions(); 1934 clear_cset_start_regions();
1935 1935
1936 guarantee(_task_queues != NULL, "task_queues allocation failure."); 1936 guarantee(_task_queues != NULL, "task_queues allocation failure.");
1937 #ifdef SPARC
1938 // Issue a stern warning, but allow use for experimentation and debugging.
1939 if (VM_Version::is_sun4v() && UseMemSetInBOT) {
1940 assert(!FLAG_IS_DEFAULT(UseMemSetInBOT), "Error");
1941 warning("Experimental flag -XX:+UseMemSetInBOT is known to cause instability"
1942 " on sun4v; please understand that you are using at your own risk!");
1943 }
1944 #endif
1937 } 1945 }
1938 1946
1939 jint G1CollectedHeap::initialize() { 1947 jint G1CollectedHeap::initialize() {
1940 CollectedHeap::pre_initialize(); 1948 CollectedHeap::pre_initialize();
1941 os::enable_vtime(); 1949 os::enable_vtime();