mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6769124: various 64-bit fixes for c1
Reviewed-by: never
This commit is contained in:
parent
903247cf85
commit
7eea7dcfe4
14 changed files with 309 additions and 31 deletions
|
@ -1234,9 +1234,11 @@ void Arguments::set_ergonomics_flags() {
|
|||
// Check that UseCompressedOops can be set with the max heap size allocated
|
||||
// by ergonomics.
|
||||
if (MaxHeapSize <= max_heap_for_compressed_oops()) {
|
||||
#ifndef COMPILER1
|
||||
if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) {
|
||||
FLAG_SET_ERGO(bool, UseCompressedOops, true);
|
||||
}
|
||||
#endif
|
||||
#ifdef _WIN64
|
||||
if (UseLargePages && UseCompressedOops) {
|
||||
// Cannot allocate guard pages for implicit checks in indexed addressing
|
||||
|
@ -2675,6 +2677,10 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(_LP64) && defined(COMPILER1)
|
||||
UseCompressedOops = false;
|
||||
#endif
|
||||
|
||||
#ifdef SERIALGC
|
||||
set_serial_gc_flags();
|
||||
#endif // SERIALGC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue