diff 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
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp	Mon Jun 28 12:03:05 2010 -0400
+++ b/src/share/vm/runtime/thread.hpp	Fri Jul 02 17:23:43 2010 -0400
@@ -270,6 +270,7 @@
   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; }