8234791: Fix Client VM build for x86_64 and AArch64
Reviewed-by: adinn, aph, thartmann
This commit is contained in:
parent
b0812b2802
commit
ddb989de3d
@ -33,6 +33,7 @@
|
||||
#include "interpreter/interp_masm.hpp"
|
||||
#include "logging/log.hpp"
|
||||
#include "memory/resourceArea.hpp"
|
||||
#include "nativeInst_aarch64.hpp"
|
||||
#include "oops/compiledICHolder.hpp"
|
||||
#include "oops/klass.inline.hpp"
|
||||
#include "runtime/safepointMechanism.hpp"
|
||||
|
@ -1693,11 +1693,9 @@ void Arguments::set_use_compressed_oops() {
|
||||
size_t max_heap_size = MAX3(MaxHeapSize, InitialHeapSize, MinHeapSize);
|
||||
|
||||
if (max_heap_size <= max_heap_for_compressed_oops()) {
|
||||
#if !defined(COMPILER1) || defined(TIERED)
|
||||
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
|
||||
FLAG_SET_ERGO(UseCompressedOops, true);
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) {
|
||||
warning("Max heap size too large for Compressed Oops");
|
||||
|
Loading…
x
Reference in New Issue
Block a user