comparison src/share/vm/runtime/arguments.cpp @ 2324:0ac769a57c64

6627983: G1: Bad oop deference during marking Summary: Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases. Reviewed-by: jrose, kvn, never
author iveresov
date Tue, 01 Mar 2011 14:56:48 -0800
parents f77b3ec064b0
children 8c9c9ee30d71
comparison
equal deleted inserted replaced
2323:bc6b27fb3568 2324:0ac769a57c64
2788 TieredCompilation = false; 2788 TieredCompilation = false;
2789 #else 2789 #else
2790 if (!FLAG_IS_DEFAULT(OptoLoopAlignment) && FLAG_IS_DEFAULT(MaxLoopPad)) { 2790 if (!FLAG_IS_DEFAULT(OptoLoopAlignment) && FLAG_IS_DEFAULT(MaxLoopPad)) {
2791 FLAG_SET_DEFAULT(MaxLoopPad, OptoLoopAlignment-1); 2791 FLAG_SET_DEFAULT(MaxLoopPad, OptoLoopAlignment-1);
2792 } 2792 }
2793 // Temporary disable bulk zeroing reduction with G1. See CR 6627983.
2794 if (UseG1GC) {
2795 FLAG_SET_DEFAULT(ReduceBulkZeroing, false);
2796 }
2797 #endif 2793 #endif
2798 2794
2799 // If we are running in a headless jre, force java.awt.headless property 2795 // If we are running in a headless jre, force java.awt.headless property
2800 // to be true unless the property has already been set. 2796 // to be true unless the property has already been set.
2801 // Also allow the OS environment variable JAVA_AWT_HEADLESS to set headless state. 2797 // Also allow the OS environment variable JAVA_AWT_HEADLESS to set headless state.