changeset 54356:62e87f00e420

8221750: Shenandoah: Enable ThreadLocalHandshake by default Reviewed-by: shade
author rkennke
date Mon, 01 Apr 2019 16:30:23 +0200
parents f226ab0b7f21
children a8564226f446
files src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp	Mon Apr 01 09:53:30 2019 -0400
+++ b/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp	Mon Apr 01 16:30:23 2019 +0200
@@ -135,18 +135,6 @@
     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
   if (FLAG_IS_DEFAULT(LogEventsBufferEntries)) {
     FLAG_SET_DEFAULT(LogEventsBufferEntries, 250);