< prev index next >

src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp

Print this page

        

@@ -2428,22 +2428,20 @@
   // In order for GC to work, don't clear the last_Java_sp until after blocking.
   Label after_transition;
   {
     Label no_block, sync;
 
-    if (os::is_MP()) {
       if (UseMembar) {
         // Force this write out before the read below.
         __ fence();
       } else {
         // Write serialization page so VM thread can do a pseudo remote membar.
         // We use the current thread pointer to calculate a thread specific
         // offset to write to within the page. This minimizes bus traffic
         // due to cache line collision.
         __ serialize_memory(R16_thread, r_temp_4, r_temp_5);
       }
-    }
 
     Register sync_state_addr = r_temp_4;
     Register sync_state      = r_temp_5;
     Register suspend_flags   = r_temp_6;
 
< prev index next >