changeset 1910:b26e1c8bfc51

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 9ef90ed6dac9
children 97798e89d452
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	Tue Jun 23 16:31:22 2009 +0200
+++ 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-23  Matthias Klose  <doko@ubuntu.com>
 
 	* ports/hotspot/src/share/vm/shark/llvmHeaders.hpp: Fix header location.
--- a/ports/hotspot/src/share/vm/shark/sharkRuntime.cpp	Tue Jun 23 16:31:22 2009 +0200
+++ 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