< prev index next >

src/hotspot/share/runtime/handshake.cpp

Print this page

        

@@ -292,11 +292,11 @@
 
   ThreadInVMForHandshake tivm(thread);
   if (!_semaphore.trywait()) {
     _semaphore.wait_with_safepoint_check(thread);
   }
-  HandshakeOperation* op = OrderAccess::load_acquire(&_operation);
+  HandshakeOperation* op = Atomic::load_acquire(&_operation);
   if (op != NULL) {
     HandleMark hm(thread);
     CautiouslyPreserveExceptionMark pem(thread);
     // Disarm before execute the operation
     clear_handshake(thread);
< prev index next >