mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-11-27 14:20:27 +00:00
8237223
: Shenandoah: important flags should not be ergonomic for concurrent class unloading
Reviewed-by: zgu
This commit is contained in:
parent
519f9c1f80
commit
f1ba4f8da7
@ -31,11 +31,12 @@
|
||||
#include "logging/logTag.hpp"
|
||||
|
||||
void ShenandoahNormalMode::initialize_flags() const {
|
||||
if (ShenandoahConcurrentRoots::can_do_concurrent_class_unloading()) {
|
||||
FLAG_SET_DEFAULT(ShenandoahSuspendibleWorkers, true);
|
||||
}
|
||||
|
||||
SHENANDOAH_ERGO_ENABLE_FLAG(ExplicitGCInvokesConcurrent);
|
||||
SHENANDOAH_ERGO_ENABLE_FLAG(ShenandoahImplicitGCInvokesConcurrent);
|
||||
if (ShenandoahConcurrentRoots::can_do_concurrent_class_unloading()) {
|
||||
SHENANDOAH_ERGO_ENABLE_FLAG(ShenandoahSuspendibleWorkers);
|
||||
}
|
||||
|
||||
// Final configuration checks
|
||||
SHENANDOAH_CHECK_FLAG_SET(ShenandoahLoadRefBarrier);
|
||||
|
Loading…
Reference in New Issue
Block a user