comparison src/share/vm/runtime/arguments.cpp @ 1060:323bd24c6520

6769124: various 64-bit fixes for c1 Reviewed-by: never
author roland
date Mon, 02 Nov 2009 11:17:55 +0100
parents 354d3184f6b2
children fb4c00faa9da
comparison
equal deleted inserted replaced
1059:389049f3f393 1060:323bd24c6520
1232 #ifndef ZERO 1232 #ifndef ZERO
1233 #ifdef _LP64 1233 #ifdef _LP64
1234 // Check that UseCompressedOops can be set with the max heap size allocated 1234 // Check that UseCompressedOops can be set with the max heap size allocated
1235 // by ergonomics. 1235 // by ergonomics.
1236 if (MaxHeapSize <= max_heap_for_compressed_oops()) { 1236 if (MaxHeapSize <= max_heap_for_compressed_oops()) {
1237 #ifndef COMPILER1
1237 if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) { 1238 if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) {
1238 FLAG_SET_ERGO(bool, UseCompressedOops, true); 1239 FLAG_SET_ERGO(bool, UseCompressedOops, true);
1239 } 1240 }
1241 #endif
1240 #ifdef _WIN64 1242 #ifdef _WIN64
1241 if (UseLargePages && UseCompressedOops) { 1243 if (UseLargePages && UseCompressedOops) {
1242 // Cannot allocate guard pages for implicit checks in indexed addressing 1244 // Cannot allocate guard pages for implicit checks in indexed addressing
1243 // mode, when large pages are specified on windows. 1245 // mode, when large pages are specified on windows.
1244 // This flag could be switched ON if narrow oop base address is set to 0, 1246 // This flag could be switched ON if narrow oop base address is set to 0,
2673 if (FLAG_IS_DEFAULT(TraceClassUnloading)) { 2675 if (FLAG_IS_DEFAULT(TraceClassUnloading)) {
2674 TraceClassUnloading = true; 2676 TraceClassUnloading = true;
2675 } 2677 }
2676 } 2678 }
2677 2679
2680 #if defined(_LP64) && defined(COMPILER1)
2681 UseCompressedOops = false;
2682 #endif
2683
2678 #ifdef SERIALGC 2684 #ifdef SERIALGC
2679 set_serial_gc_flags(); 2685 set_serial_gc_flags();
2680 #endif // SERIALGC 2686 #endif // SERIALGC
2681 #ifdef KERNEL 2687 #ifdef KERNEL
2682 no_shared_spaces(); 2688 no_shared_spaces();