Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.hpp @ 1640:bfc89697cccb
6964164: MonitorInUseLists leak of contended objects
Summary: fix MonitorInUseLists memory leak and MonitorBound now works
Reviewed-by: chrisphi, dice
author | acorn |
---|---|
date | Fri, 02 Jul 2010 17:23:43 -0400 |
parents | b17deadc902e |
children | 126ea7725993 2dfd013a7465 |
comparison
equal
deleted
inserted
replaced
1627:c5f1ea9e15e8 | 1640:bfc89697cccb |
---|---|
268 static ThreadPriority get_priority(const Thread* const thread); | 268 static ThreadPriority get_priority(const Thread* const thread); |
269 static void start(Thread* thread); | 269 static void start(Thread* thread); |
270 static void interrupt(Thread* thr); | 270 static void interrupt(Thread* thr); |
271 static bool is_interrupted(Thread* thr, bool clear_interrupted); | 271 static bool is_interrupted(Thread* thr, bool clear_interrupted); |
272 | 272 |
273 ObjectMonitor** omInUseList_addr() { return (ObjectMonitor **)&omInUseList; } | |
273 Monitor* SR_lock() const { return _SR_lock; } | 274 Monitor* SR_lock() const { return _SR_lock; } |
274 | 275 |
275 bool has_async_exception() const { return (_suspend_flags & _has_async_exception) != 0; } | 276 bool has_async_exception() const { return (_suspend_flags & _has_async_exception) != 0; } |
276 | 277 |
277 void set_suspend_flag(SuspendFlags f) { | 278 void set_suspend_flag(SuspendFlags f) { |