@@ -107,7 +107,14 @@ inline void ObjectMonitor::set_owner(void* owner) { _owner = owner; _recursions = 0; } +inline void ObjectMonitor::enter(TRAPS) { + enter(0, THREAD); +} + +inline void ObjectMonitor::exit(bool not_suspended, TRAPS) { + exit(NULL, 0, THREAD); +} #endif // SHARE_VM_RUNTIME_OBJECTMONITOR_INLINE_HPP