mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8179084: HotSpot VM fails to start when AggressiveHeap is set
Don't set default ParallelGCThreads when processing AggressiveHeap Reviewed-by: stefank, ehelin
This commit is contained in:
parent
fd4f7d938a
commit
77f7391ebd
2 changed files with 93 additions and 2 deletions
|
@ -2305,8 +2305,6 @@ jint Arguments::set_aggressive_heap_flags() {
|
|||
if (FLAG_SET_CMDLINE(bool, UseParallelGC, true) != Flag::SUCCESS) {
|
||||
return JNI_EINVAL;
|
||||
}
|
||||
FLAG_SET_DEFAULT(ParallelGCThreads,
|
||||
Abstract_VM_Version::parallel_worker_threads());
|
||||
|
||||
// Encourage steady state memory management
|
||||
if (FLAG_SET_CMDLINE(uintx, ThresholdTolerance, 100) != Flag::SUCCESS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue