changeset 1621:1541cc6b4e0d

2009-06-25 Gary Benson <gbenson@redhat.com> * ports/hotspot/src/share/vm/shark/sharkRuntime.cpp (SharkRuntime::monitorexit_C): Remove unnecessary lock clear.
author Gary Benson <gbenson@redhat.com>
date Thu, 25 Jun 2009 11:40:43 +0100
parents 6d968e7aa1f4
children 9247751a966e
files ChangeLog ports/hotspot/src/share/vm/shark/sharkRuntime.cpp
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 24 16:26:08 2009 -0400
+++ b/ChangeLog	Thu Jun 25 11:40:43 2009 +0100
@@ -1,3 +1,8 @@
+2009-06-25  Gary Benson  <gbenson@redhat.com>
+
+	* ports/hotspot/src/share/vm/shark/sharkRuntime.cpp
+	(SharkRuntime::monitorexit_C): Remove unnecessary lock clear.
+
 2009-06-24  Omair Majid  <omajid@redhat.com>
 
 	* rt/net/sourceforge/jnlp/security/CertWarningPane.java
--- a/ports/hotspot/src/share/vm/shark/sharkRuntime.cpp	Wed Jun 24 16:26:08 2009 -0400
+++ b/ports/hotspot/src/share/vm/shark/sharkRuntime.cpp	Thu Jun 25 11:40:43 2009 +0100
@@ -290,11 +290,6 @@
     THROW(vmSymbols::java_lang_IllegalMonitorStateException());
   }
   ObjectSynchronizer::slow_exit(object(), lock->lock(), thread);
-
-  // Free entry. This must be done here, since a pending exception
-  // might be installed on exit. If it is not cleared, the exception
-  // handling code will try to unlock the monitor again.
-  lock->set_obj(NULL); 
 }
 JRT_END