mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8184732: Deadlock detection improvements for 'special' locks
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier. Reviewed-by: dholmes, eosterlund
This commit is contained in:
parent
8a50aa7d21
commit
98f454c9ca
7 changed files with 116 additions and 22 deletions
|
@ -511,6 +511,7 @@ public class WhiteBox {
|
|||
|
||||
// Safepoint Checking
|
||||
public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue);
|
||||
public native void assertSpecialLock(boolean allowVMBlock, boolean safepointCheck);
|
||||
|
||||
// Sharing & archiving
|
||||
public native String getDefaultArchivePath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue