Skip to content

Commit e05605e

Browse files
committed
remove NMethodEntryBarrier_lock
1 parent ecc6e68 commit e05605e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/hotspot/share/runtime/mutexLocker.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
// Mutexes used in the VM (see comment in mutexLocker.hpp):
3737

3838
Mutex* NMethodState_lock = nullptr;
39-
Mutex* NMethodEntryBarrier_lock = nullptr;
4039
Monitor* SystemDictionary_lock = nullptr;
4140
Mutex* InvokeMethodTypeTable_lock = nullptr;
4241
Monitor* InvokeMethodIntrinsicTable_lock = nullptr;
@@ -206,8 +205,6 @@ void assert_lock_strong(const Mutex* lock) {
206205
void mutex_init() {
207206
MUTEX_DEFN(tty_lock , PaddedMutex , tty); // allow to lock in VM
208207

209-
MUTEX_DEFN(NMethodEntryBarrier_lock , PaddedMutex , service-1);
210-
211208
MUTEX_DEFN(STS_lock , PaddedMonitor, nosafepoint);
212209

213210
if (UseG1GC) {

src/hotspot/share/runtime/mutexLocker.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class Thread;
3434
// Mutexes used in the VM.
3535

3636
extern Mutex* NMethodState_lock; // a lock used to guard a compiled method state
37-
extern Mutex* NMethodEntryBarrier_lock; // protects nmethod entry barrier
3837
extern Monitor* SystemDictionary_lock; // a lock on the system dictionary
3938
extern Mutex* InvokeMethodTypeTable_lock;
4039
extern Monitor* InvokeMethodIntrinsicTable_lock;

0 commit comments

Comments
 (0)