6964164: MonitorInUseLists leak of contended objects

Fix MonitorInUseLists memory leak and MonitorBound now works

Reviewed-by: chrisphi, dice
This commit is contained in:
Karen Kinnear 2010-07-02 17:23:43 -04:00
parent 52adb9a491
commit 13ac5e3af2
3 changed files with 157 additions and 52 deletions

View file

@ -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; }