mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
7150390: JFR test crashed on assert(_jni_lock_count == count) failed: must be equal
Reviewed-by: dholmes, minqi, kvn, coleenp
This commit is contained in:
parent
36efb40d10
commit
9a93f60e34
3 changed files with 29 additions and 5 deletions
|
@ -247,6 +247,10 @@ Thread::Thread() {
|
|||
omInUseList = NULL ;
|
||||
omInUseCount = 0 ;
|
||||
|
||||
#ifdef ASSERT
|
||||
_visited_for_critical_count = false;
|
||||
#endif
|
||||
|
||||
_SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true);
|
||||
_suspend_flags = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue