< prev index next >

src/hotspot/share/runtime/interfaceSupport.inline.hpp

Print this page

        

@@ -77,11 +77,10 @@
   }
 
  private:
   static void serialize_thread_state_internal(JavaThread* thread, bool needs_exception_handler) {
     // Make sure new state is seen by VM thread
-    if (os::is_MP()) {
       if (UseMembar) {
         // Force a fence between the write above and read below
         OrderAccess::fence();
       } else {
         // store to serialize page so VM thread can do pseudo remote membar

@@ -90,11 +89,10 @@
         } else {
           os::write_memory_serialize_page(thread);
         }
       }
     }
-  }
 };
 
 
 // Basic class for all thread transition classes.
 
< prev index next >