mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods. Reviewed-by: dholmes, dcubed, coleenp
This commit is contained in:
parent
bb30bd7e0a
commit
1d76295d70
32 changed files with 447 additions and 134 deletions
|
@ -88,7 +88,8 @@ static void _sltLoop(JavaThread* thread, TRAPS) {
|
|||
|
||||
SurrogateLockerThread::SurrogateLockerThread() :
|
||||
JavaThread(&_sltLoop),
|
||||
_monitor(Mutex::nonleaf, "SLTMonitor"),
|
||||
_monitor(Mutex::nonleaf, "SLTMonitor", false,
|
||||
Monitor::_safepoint_check_sometimes),
|
||||
_buffer(empty)
|
||||
{}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue