Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 14704:b51e29501f30
Merged with jdk9/dev/hotspot changeset 9486a41de3b7
author | twisti |
---|---|
date | Tue, 18 Mar 2014 20:19:10 -0700 |
parents | d8041d695d19 948a73c3e9ea |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
14647:8f483e200405 | 14704:b51e29501f30 |
---|---|
1707 julong max_coop_heap = (julong)max_heap_for_compressed_oops(); | 1707 julong max_coop_heap = (julong)max_heap_for_compressed_oops(); |
1708 | 1708 |
1709 // HeapBaseMinAddress can be greater than default but not less than. | 1709 // HeapBaseMinAddress can be greater than default but not less than. |
1710 if (!FLAG_IS_DEFAULT(HeapBaseMinAddress)) { | 1710 if (!FLAG_IS_DEFAULT(HeapBaseMinAddress)) { |
1711 if (HeapBaseMinAddress < DefaultHeapBaseMinAddress) { | 1711 if (HeapBaseMinAddress < DefaultHeapBaseMinAddress) { |
1712 if (PrintMiscellaneous && Verbose) { // matches compressed oops printing flags | 1712 // matches compressed oops printing flags |
1713 if (PrintCompressedOopsMode || (PrintMiscellaneous && Verbose)) { | |
1713 jio_fprintf(defaultStream::error_stream(), | 1714 jio_fprintf(defaultStream::error_stream(), |
1714 "HeapBaseMinAddress must be at least " UINTX_FORMAT | 1715 "HeapBaseMinAddress must be at least " UINTX_FORMAT |
1715 " (" UINTX_FORMAT "G) which is greater than value given " | 1716 " (" UINTX_FORMAT "G) which is greater than value given " |
1716 UINTX_FORMAT "\n", | 1717 UINTX_FORMAT "\n", |
1717 DefaultHeapBaseMinAddress, | 1718 DefaultHeapBaseMinAddress, |
2436 status = false; | 2437 status = false; |
2437 } | 2438 } |
2438 | 2439 |
2439 status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); | 2440 status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); |
2440 status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); | 2441 status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); |
2442 status &= verify_interval(CodeCacheMinBlockLength, 1, 100, "CodeCacheMinBlockLength"); | |
2443 status &= verify_interval(CodeCacheSegmentSize, 1, 1024, "CodeCacheSegmentSize"); | |
2441 | 2444 |
2442 // TieredCompilation needs at least 2 compiler threads. | 2445 // TieredCompilation needs at least 2 compiler threads. |
2443 const int num_min_compiler_threads = (TieredCompilation) ? NOT_GRAAL(2) GRAAL_ONLY(1) : 1; | 2446 const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? NOT_GRAAL(2) GRAAL_ONLY(1) : 1; |
2444 status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount"); | 2447 status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount"); |
2445 | 2448 |
2446 return status; | 2449 return status; |
2447 } | 2450 } |
2448 | 2451 |