Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 14687:480b0109db65
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
Summary: Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti
author | anoll |
---|---|
date | Fri, 07 Mar 2014 07:42:40 +0100 |
parents | a5f0657a1666 |
children | 948a73c3e9ea |
comparison
equal
deleted
inserted
replaced
14686:97586c131ac8 | 14687:480b0109db65 |
---|---|
2405 status = false; | 2405 status = false; |
2406 } | 2406 } |
2407 | 2407 |
2408 status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); | 2408 status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); |
2409 status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); | 2409 status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); |
2410 status &= verify_interval(CodeCacheMinBlockLength, 1, 100, "CodeCacheMinBlockLength"); | |
2411 status &= verify_interval(CodeCacheSegmentSize, 1, 1024, "CodeCacheSegmentSize"); | |
2410 | 2412 |
2411 // TieredCompilation needs at least 2 compiler threads. | 2413 // TieredCompilation needs at least 2 compiler threads. |
2412 const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? 2 : 1; | 2414 const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? 2 : 1; |
2413 status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount"); | 2415 status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount"); |
2414 | 2416 |