equal
deleted
inserted
replaced
1967 |
1967 |
1968 |
1968 |
1969 // Handles the uncommon case in locking, i.e., contention or an inflated lock. |
1969 // Handles the uncommon case in locking, i.e., contention or an inflated lock. |
1970 JRT_BLOCK_ENTRY(void, SharedRuntime::complete_monitor_locking_C(oopDesc* _obj, BasicLock* lock, JavaThread* thread)) |
1970 JRT_BLOCK_ENTRY(void, SharedRuntime::complete_monitor_locking_C(oopDesc* _obj, BasicLock* lock, JavaThread* thread)) |
1971 // Disable ObjectSynchronizer::quick_enter() in default config |
1971 // Disable ObjectSynchronizer::quick_enter() in default config |
1972 // until JDK-8077392 is resolved. |
1972 // on AARCH64 until JDK-8153107 is resolved. |
1973 if ((SyncFlags & 256) != 0 && !SafepointSynchronize::is_synchronizing()) { |
1973 if (AARCH64_ONLY((SyncFlags & 256) != 0 &&) !SafepointSynchronize::is_synchronizing()) { |
1974 // Only try quick_enter() if we're not trying to reach a safepoint |
1974 // Only try quick_enter() if we're not trying to reach a safepoint |
1975 // so that the calling thread reaches the safepoint more quickly. |
1975 // so that the calling thread reaches the safepoint more quickly. |
1976 if (ObjectSynchronizer::quick_enter(_obj, thread, lock)) return; |
1976 if (ObjectSynchronizer::quick_enter(_obj, thread, lock)) return; |
1977 } |
1977 } |
1978 // NO_ASYNC required because an async exception on the state transition destructor |
1978 // NO_ASYNC required because an async exception on the state transition destructor |