mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6964164: MonitorInUseLists leak of contended objects
Fix MonitorInUseLists memory leak and MonitorBound now works Reviewed-by: chrisphi, dice
This commit is contained in:
parent
52adb9a491
commit
13ac5e3af2
3 changed files with 157 additions and 52 deletions
|
@ -270,6 +270,7 @@ class Thread: public ThreadShadow {
|
|||
static void interrupt(Thread* thr);
|
||||
static bool is_interrupted(Thread* thr, bool clear_interrupted);
|
||||
|
||||
ObjectMonitor** omInUseList_addr() { return (ObjectMonitor **)&omInUseList; }
|
||||
Monitor* SR_lock() const { return _SR_lock; }
|
||||
|
||||
bool has_async_exception() const { return (_suspend_flags & _has_async_exception) != 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue