[kaffe] CVS kaffe (guilhem): JVMPI fix.
Kaffe CVS
cvs-commits at kaffe.org
Tue Jul 19 13:35:37 PDT 2005
PatchSet 6750
Date: 2005/07/19 20:30:06
Author: guilhem
Branch: HEAD
Tag: (none)
Log:
JVMPI fix.
* kaffe/jvmpi/jvmpi_kaffe.h,
kaffe/jvmpi/jvmpi_kaffe.c
(jvmpiFillThreadStart): Use really VMThread as a second argument.
Members:
ChangeLog:1.4275->1.4276
kaffe/jvmpi/jvmpi_kaffe.c:1.13->1.14
kaffe/jvmpi/jvmpi_kaffe.h:1.4->1.5
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4275 kaffe/ChangeLog:1.4276
--- kaffe/ChangeLog:1.4275 Tue Jul 19 19:26:11 2005
+++ kaffe/ChangeLog Tue Jul 19 20:30:06 2005
@@ -1,5 +1,11 @@
2005-07-19 Guilhem Lavaux <guilhem at kaffe.org>
+ * kaffe/jvmpi/jvmpi_kaffe.h,
+ kaffe/jvmpi/jvmpi_kaffe.c
+ (jvmpiFillThreadStart): Use really VMThread as a second argument.
+
+2005-07-19 Guilhem Lavaux <guilhem at kaffe.org>
+
* kaffe/jvmpi/jvmpi_kaffe.c
(jvmpiCreateSystemThread): Increased stack size.
(jvmpiFillMethodLoad): Typo fix.
Index: kaffe/kaffe/jvmpi/jvmpi_kaffe.c
diff -u kaffe/kaffe/jvmpi/jvmpi_kaffe.c:1.13 kaffe/kaffe/jvmpi/jvmpi_kaffe.c:1.14
--- kaffe/kaffe/jvmpi/jvmpi_kaffe.c:1.13 Tue Jul 19 19:26:14 2005
+++ kaffe/kaffe/jvmpi/jvmpi_kaffe.c Tue Jul 19 20:30:09 2005
@@ -186,9 +186,10 @@
ev->u.obj_alloc.obj_id = obj;
}
-void jvmpiFillThreadStart(JVMPI_Event *ev, struct Hjava_lang_Thread *tid)
+void jvmpiFillThreadStart(JVMPI_Event *ev, struct Hjava_lang_VMThread *vmtid)
{
struct Hjava_lang_String *name;
+ struct Hjava_lang_Thread *tid = unhand(vmtid)->thread;
assert(ev != NULL);
assert(tid != NULL);
Index: kaffe/kaffe/jvmpi/jvmpi_kaffe.h
diff -u kaffe/kaffe/jvmpi/jvmpi_kaffe.h:1.4 kaffe/kaffe/jvmpi/jvmpi_kaffe.h:1.5
--- kaffe/kaffe/jvmpi/jvmpi_kaffe.h:1.4 Tue Jul 19 16:27:34 2005
+++ kaffe/kaffe/jvmpi/jvmpi_kaffe.h Tue Jul 19 20:30:09 2005
@@ -121,7 +121,7 @@
* @param ev The object to fill out.
* @param obj The object to describe in the event.
*/
-void jvmpiFillThreadStart(JVMPI_Event *ev, struct Hjava_lang_Thread *tid);
+void jvmpiFillThreadStart(JVMPI_Event *ev, struct Hjava_lang_VMThread *tid);
/**
* Free all requested memory by jvmpiFillThreadStart. This must be called after the
More information about the kaffe
mailing list