[kaffe] CVS kaffe (kaz): kaffe/kaffevm/locks.c

Kaffe CVS cvs-commits at kaffe.org
Thu Apr 22 15:04:02 PDT 2004


PatchSet 4680 
Date: 2004/04/22 21:59:50
Author: kaz
Branch: HEAD
Tag: (none) 
Log:
2004-04-22  Ito kazumitsu <kaz at maczuka.gcd.org>
        * kaffe/kaffevm/locks.c
        slowUnlockMutex(): Reverted.

Members: 
	ChangeLog:1.2256->1.2257 
	kaffe/kaffevm/locks.c:1.48->1.49 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2256 kaffe/ChangeLog:1.2257
--- kaffe/ChangeLog:1.2256	Thu Apr 22 16:28:03 2004
+++ kaffe/ChangeLog	Thu Apr 22 21:59:50 2004
@@ -1,3 +1,7 @@
+2004-04-22  Ito kazumitsu <kaz at maczuka.gcd.org>
+        * kaffe/kaffevm/locks.c
+	slowUnlockMutex(): Reverted.
+
 2004-04-22  Guilhem Lavaux <guilhem at kaffe.org>
 
 	* configure.ac: Check for sigaltstack.
Index: kaffe/kaffe/kaffevm/locks.c
diff -u kaffe/kaffe/kaffevm/locks.c:1.48 kaffe/kaffe/kaffevm/locks.c:1.49
--- kaffe/kaffe/kaffevm/locks.c:1.48	Fri Apr 16 15:28:23 2004
+++ kaffe/kaffe/kaffevm/locks.c	Thu Apr 22 21:59:52 2004
@@ -220,7 +220,7 @@
 	lk = getHeavyLock(lkp, heavyLock);
 
 	/* Only the lock holder can be doing an unlock */
-	if ((lk->holder != NULL) && (!jthread_on_current_stack(lk->holder))) {
+	if (!jthread_on_current_stack(lk->holder)) {
 		putHeavyLock(lkp, lk);
 		jthread_enable_stop();
 		throwException(IllegalMonitorStateException);




More information about the kaffe mailing list