1271 } |
1271 } |
1272 return true; |
1272 return true; |
1273 } |
1273 } |
1274 |
1274 |
1275 inline uintx max_heap_for_compressed_oops() { |
1275 inline uintx max_heap_for_compressed_oops() { |
1276 LP64_ONLY(return OopEncodingHeapMax - MaxPermSize - os::vm_page_size()); |
1276 // Heap should be above HeapBaseMinAddress to get zero based compressed oops. |
|
1277 LP64_ONLY(return OopEncodingHeapMax - MaxPermSize - os::vm_page_size() - HeapBaseMinAddress); |
1277 NOT_LP64(ShouldNotReachHere(); return 0); |
1278 NOT_LP64(ShouldNotReachHere(); return 0); |
1278 } |
1279 } |
1279 |
1280 |
1280 bool Arguments::should_auto_select_low_pause_collector() { |
1281 bool Arguments::should_auto_select_low_pause_collector() { |
1281 if (UseAutoGCSelectPolicy && |
1282 if (UseAutoGCSelectPolicy && |