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()); |