[kaffe] CVS kaffe (guilhem): Updated JVMPI code in VMObject.wait

Kaffe CVS cvs-commits at kaffe.org
Fri Jan 14 07:52:00 PST 2005


PatchSet 5855 
Date: 2005/01/14 15:45:40
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Updated JVMPI code in VMObject.wait

Members: 
	ChangeLog:1.3399->1.3400 
	libraries/clib/native/Object.c:1.13->1.14 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3399 kaffe/ChangeLog:1.3400
--- kaffe/ChangeLog:1.3399	Thu Jan 13 11:21:47 2005
+++ kaffe/ChangeLog	Fri Jan 14 15:45:40 2005
@@ -1,3 +1,9 @@
+2005-01-14  Guilhem Lavaux  <guilhem at kaffe.org>
+
+	* libraries/clib/native/Object.c
+	(VMThread.wait): Use vmThread and not sleeper to check whether we are
+	sleeping.
+
 2005-01-13  Dalibor Topic  <robilad at kaffe.org>
 
 	Resynced with GNU Classpath.
Index: kaffe/libraries/clib/native/Object.c
diff -u kaffe/libraries/clib/native/Object.c:1.13 kaffe/libraries/clib/native/Object.c:1.14
--- kaffe/libraries/clib/native/Object.c:1.13	Tue Dec 21 05:49:58 2004
+++ kaffe/libraries/clib/native/Object.c	Fri Jan 14 15:45:44 2005
@@ -1,6 +1,9 @@
 /*
  * java.lang.Object.c
  *
+ * Copyright (c) 2003, 2004
+ *      The Kaffe.org's developers. All Rights reserved.
+ *
  * Copyright (c) 1996, 1997
  *	Transvirtual Technologies, Inc.  All rights reserved.
  *
@@ -109,7 +112,7 @@
       JVMPI_Event ev;
       
       ev.event_type = JVMPI_EVENT_MONITOR_WAIT;
-      if( o == getCurrentThread()->sleeper )
+      if( o == getCurrentThread()->vmThread )
 	{
 	  ev.u.monitor_wait.object = NULL;
 	}
@@ -128,7 +131,7 @@
       JVMPI_Event ev;
       
       ev.event_type = JVMPI_EVENT_MONITOR_WAIT;
-      if( o == getCurrentThread()->sleeper )
+      if( o == getCurrentThread()->vmThread )
 	{
 	  ev.u.monitor_wait.object = NULL;
 	}




More information about the kaffe mailing list