mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
6711701: disable compressed oops by default
Comment out code that turns on compressed oops Reviewed-by: never, phh
This commit is contained in:
parent
4760698435
commit
4cce21039e
1 changed files with 3 additions and 1 deletions
|
@ -1176,7 +1176,9 @@ void Arguments::set_ergonomics_flags() {
|
||||||
// by ergonomics.
|
// by ergonomics.
|
||||||
if (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) {
|
if (!UseConcMarkSweepGC && MaxHeapSize <= max_heap_for_compressed_oops()) {
|
||||||
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
|
if (FLAG_IS_DEFAULT(UseCompressedOops)) {
|
||||||
FLAG_SET_ERGO(bool, UseCompressedOops, true);
|
// Leave compressed oops off by default. Uncomment
|
||||||
|
// the following line to return it to default status.
|
||||||
|
// FLAG_SET_ERGO(bool, UseCompressedOops, true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) {
|
if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue