mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-14 20:35:09 +00:00
8186480: Remove warning when AssumeMP is true and ergonomics determines to use one worker thread
Reviewed-by: shade
This commit is contained in:
parent
7409630577
commit
341c2c1956
@ -84,13 +84,6 @@ void GCArguments::select_gc_ergonomically() {
|
||||
|
||||
void GCArguments::initialize_flags() {
|
||||
#if INCLUDE_ALL_GCS
|
||||
if (AssumeMP && !UseSerialGC) {
|
||||
if (FLAG_IS_DEFAULT(ParallelGCThreads) && ParallelGCThreads == 1) {
|
||||
warning("If the number of processors is expected to increase from one, then"
|
||||
" you should configure the number of parallel GC threads appropriately"
|
||||
" using -XX:ParallelGCThreads=N");
|
||||
}
|
||||
}
|
||||
if (MinHeapFreeRatio == 100) {
|
||||
// Keeping the heap 100% free is hard ;-) so limit it to 99%.
|
||||
FLAG_SET_ERGO(uintx, MinHeapFreeRatio, 99);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user