src/share/vm/runtime/arguments.cpp

changeset 9004
3d505f6c7af1
parent 8712
c7140a91e56a
child 9007
91894ffc746c
equal deleted inserted replaced
9003:dd7bdb77ffe8 9004:3d505f6c7af1
4056 // Set flags based on ergonomics. 4056 // Set flags based on ergonomics.
4057 set_ergonomics_flags(); 4057 set_ergonomics_flags();
4058 4058
4059 set_shared_spaces_flags(); 4059 set_shared_spaces_flags();
4060 4060
4061 #if defined(SPARC)
4062 // BIS instructions require 'membar' instruction regardless of the number
4063 // of CPUs because in virtualized/container environments which might use only 1
4064 // CPU, BIS instructions may produce incorrect results.
4065
4066 if (FLAG_IS_DEFAULT(AssumeMP)) {
4067 FLAG_SET_DEFAULT(AssumeMP, true);
4068 }
4069 #endif
4070
4061 // Check the GC selections again. 4071 // Check the GC selections again.
4062 if (!check_gc_consistency()) { 4072 if (!check_gc_consistency()) {
4063 return JNI_EINVAL; 4073 return JNI_EINVAL;
4064 } 4074 }
4065 4075

mercurial