src/share/vm/runtime/arguments.cpp

changeset 8888
cc5c5ad8dd1c
parent 8763
afff7bd98f7d
child 8894
440fd98d0bd1
equal deleted inserted replaced
8887:b55756ea22d8 8888:cc5c5ad8dd1c
4054 // Set flags based on ergonomics. 4054 // Set flags based on ergonomics.
4055 set_ergonomics_flags(); 4055 set_ergonomics_flags();
4056 4056
4057 set_shared_spaces_flags(); 4057 set_shared_spaces_flags();
4058 4058
4059 #if defined(SPARC)
4060 // BIS instructions require 'membar' instruction regardless of the number
4061 // of CPUs because in virtualized/container environments which might use only 1
4062 // CPU, BIS instructions may produce incorrect results.
4063
4064 if (FLAG_IS_DEFAULT(AssumeMP)) {
4065 FLAG_SET_DEFAULT(AssumeMP, true);
4066 }
4067 #endif
4068
4059 // Check the GC selections again. 4069 // Check the GC selections again.
4060 if (!check_gc_consistency()) { 4070 if (!check_gc_consistency()) {
4061 return JNI_EINVAL; 4071 return JNI_EINVAL;
4062 } 4072 }
4063 4073

mercurial