< prev index next >
src/hotspot/share/runtime/arguments.cpp
Print this page
@@ -1631,10 +1631,14 @@
}
void Arguments::set_use_compressed_oops() {
#ifndef ZERO
#ifdef _LP64
+ if(AllocateOldGenAt != NULL) {
+ FLAG_SET_ERGO(bool, UseCompressedOops, false);
+ return;
+ }
// MaxHeapSize is not set up properly at this point, but
// the only value that can override MaxHeapSize if we are
// to use UseCompressedOops is InitialHeapSize.
size_t max_heap_size = MAX2(MaxHeapSize, InitialHeapSize);
< prev index next >