src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp
changeset 47586 07ad034e0c29
parent 47583 2dcbf51d0431
child 47594 fd0db78ac8d4
--- a/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp	Wed Oct 04 14:25:53 2017 +0200
+++ b/src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp	Wed Oct 04 16:44:45 2017 +0200
@@ -2238,9 +2238,6 @@
   __ release();
   // TODO: PPC port assert(4 == JavaThread::sz_thread_state(), "unexpected field size");
   __ stw(R0, thread_(thread_state));
-  if (UseMembar) {
-    __ fence();
-  }
 
 
   // The JNI call
@@ -2397,9 +2394,6 @@
   __ release();
   // TODO: PPC port assert(4 == JavaThread::sz_thread_state(), "unexpected field size");
   __ stw(R0, thread_(thread_state));
-  if (UseMembar) {
-    __ fence();
-  }
   __ bind(after_transition);
 
   // Reguard any pages if necessary.