8221750: Shenandoah: Enable ThreadLocalHandshake by default
Reviewed-by: shade
This commit is contained in:
parent
246544eeb7
commit
9e18ef0679
@ -135,18 +135,6 @@ void ShenandoahArguments::initialize() {
|
|||||||
FLAG_SET_DEFAULT(ShenandoahAlwaysPreTouch, true);
|
FLAG_SET_DEFAULT(ShenandoahAlwaysPreTouch, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shenandoah C2 optimizations apparently dislike the shape of thread-local handshakes.
|
|
||||||
// Disable it by default, unless we enable it specifically for debugging.
|
|
||||||
if (FLAG_IS_DEFAULT(ThreadLocalHandshakes)) {
|
|
||||||
if (ThreadLocalHandshakes) {
|
|
||||||
FLAG_SET_DEFAULT(ThreadLocalHandshakes, false);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (ThreadLocalHandshakes) {
|
|
||||||
warning("Thread-local handshakes are not working correctly with Shenandoah at the moment. Enable at your own risk.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Record more information about previous cycles for improved debugging pleasure
|
// Record more information about previous cycles for improved debugging pleasure
|
||||||
if (FLAG_IS_DEFAULT(LogEventsBufferEntries)) {
|
if (FLAG_IS_DEFAULT(LogEventsBufferEntries)) {
|
||||||
FLAG_SET_DEFAULT(LogEventsBufferEntries, 250);
|
FLAG_SET_DEFAULT(LogEventsBufferEntries, 250);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user