Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 5952:56ee89841dc4
7154333: JVM fails to start if -XX:+AggressiveHeap is set
Summary: Don't set CompilationPolicyChoice with AggressiveHeap
Reviewed-by: never
author | iveresov |
---|---|
date | Thu, 15 Mar 2012 16:38:56 -0700 |
parents | 2d503de963b3 |
children | ad412114302a |
comparison
equal
deleted
inserted
replaced
5951:dbd21c7c833f | 5952:56ee89841dc4 |
---|---|
2520 // original allocation order after promotion, which improves mutator | 2520 // original allocation order after promotion, which improves mutator |
2521 // locality. A minor effect may be that larger PLABs reduce the | 2521 // locality. A minor effect may be that larger PLABs reduce the |
2522 // number of PLAB allocation events during gc. The value of 8kw | 2522 // number of PLAB allocation events during gc. The value of 8kw |
2523 // was arrived at by experimenting with specjbb. | 2523 // was arrived at by experimenting with specjbb. |
2524 FLAG_SET_CMDLINE(uintx, OldPLABSize, 8*K); // Note: this is in words | 2524 FLAG_SET_CMDLINE(uintx, OldPLABSize, 8*K); // Note: this is in words |
2525 | |
2526 // CompilationPolicyChoice=0 causes the server compiler to adopt | |
2527 // a more conservative which-method-do-I-compile policy when one | |
2528 // of the counters maintained by the interpreter trips. The | |
2529 // result is reduced startup time and improved specjbb and | |
2530 // alacrity performance. Zero is the default, but we set it | |
2531 // explicitly here in case the default changes. | |
2532 // See runtime/compilationPolicy.*. | |
2533 FLAG_SET_CMDLINE(intx, CompilationPolicyChoice, 0); | |
2534 | 2525 |
2535 // Enable parallel GC and adaptive generation sizing | 2526 // Enable parallel GC and adaptive generation sizing |
2536 FLAG_SET_CMDLINE(bool, UseParallelGC, true); | 2527 FLAG_SET_CMDLINE(bool, UseParallelGC, true); |
2537 FLAG_SET_DEFAULT(ParallelGCThreads, | 2528 FLAG_SET_DEFAULT(ParallelGCThreads, |
2538 Abstract_VM_Version::parallel_worker_threads()); | 2529 Abstract_VM_Version::parallel_worker_threads()); |