mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8213150: Add verification for locking by VMThread
Extend verification for all locking not just VMOperations, and fix CLDG lock to not be taken by VM thread. Reviewed-by: rehn, dholmes
This commit is contained in:
parent
11d43732bc
commit
e49e9292d3
14 changed files with 148 additions and 125 deletions
|
@ -149,6 +149,8 @@ extern Mutex* CodeHeapStateAnalytics_lock; // lock print functions against
|
|||
extern Monitor* JVMCI_lock; // Monitor to control initialization of JVMCI
|
||||
#endif
|
||||
|
||||
extern Mutex* tty_lock; // lock to synchronize output.
|
||||
|
||||
// A MutexLocker provides mutual exclusion with respect to a given mutex
|
||||
// for the scope which contains the locker. The lock is an OS lock, not
|
||||
// an object lock, and the two do not interoperate. Do not use Mutex-based
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue