< prev index next >

src/hotspot/share/jvmci/jvmciRuntime.cpp

Print this page
*** 403,18 ***
  
    assert(continuation != NULL, "no handler found");
    return continuation;
  }
  
! JRT_BLOCK_ENTRY(void, JVMCIRuntime::monitorenter(JavaThread* current, oopDesc* obj, BasicLock* lock))
!   SharedRuntime::monitor_enter_helper(obj, lock, current);
  JRT_END
  
! JRT_LEAF(void, JVMCIRuntime::monitorexit(JavaThread* current, oopDesc* obj, BasicLock* lock))
    assert(current->last_Java_sp(), "last_Java_sp must be set");
    assert(oopDesc::is_oop(obj), "invalid lock object pointer dected");
!   SharedRuntime::monitor_exit_helper(obj, lock, current);
  JRT_END
  
  // Object.notify() fast path, caller does slow path
  JRT_LEAF(jboolean, JVMCIRuntime::object_notify(JavaThread* current, oopDesc* obj))
  
--- 403,18 ---
  
    assert(continuation != NULL, "no handler found");
    return continuation;
  }
  
! JRT_BLOCK_ENTRY(void, JVMCIRuntime::monitorenter(JavaThread* current, oopDesc* obj))
!   SharedRuntime::monitor_enter_helper(obj, current);
  JRT_END
  
! JRT_LEAF(void, JVMCIRuntime::monitorexit(JavaThread* current, oopDesc* obj))
    assert(current->last_Java_sp(), "last_Java_sp must be set");
    assert(oopDesc::is_oop(obj), "invalid lock object pointer dected");
!   SharedRuntime::monitor_exit_helper(obj, current);
  JRT_END
  
  // Object.notify() fast path, caller does slow path
  JRT_LEAF(jboolean, JVMCIRuntime::object_notify(JavaThread* current, oopDesc* obj))
  
< prev index next >