mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -669,7 +669,7 @@ void VMThread::execute(VM_Operation* op) {
|
|||
bool concurrent = op->evaluate_concurrently();
|
||||
// only blocking VM operations need to verify the caller's safepoint state:
|
||||
if (!concurrent) {
|
||||
t->check_for_valid_safepoint_state(true);
|
||||
t->check_for_valid_safepoint_state();
|
||||
}
|
||||
|
||||
// New request from Java thread, evaluate prologue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue