[kaffe] CVS kaffe (dalibor): Only define pthreads stat_* for debugging
Kaffe CVS
cvs-commits at kaffe.org
Sun Aug 29 17:34:27 PDT 2004
PatchSet 5121
Date: 2004/08/29 23:43:23
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Only define pthreads stat_* for debugging
2004-08-30 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
(stat_act, stat_susp, stat_block) Only define if debugging is enabled.
Members:
ChangeLog:1.2677->1.2678
kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.39->1.40
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2677 kaffe/ChangeLog:1.2678
--- kaffe/ChangeLog:1.2677 Sun Aug 29 22:56:53 2004
+++ kaffe/ChangeLog Sun Aug 29 23:43:23 2004
@@ -1,3 +1,8 @@
+2004-08-30 Dalibor Topic <robilad at kaffe.org>
+
+ * kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
+ (stat_act, stat_susp, stat_block) Only define if debugging is enabled.
+
2004-08-29 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c (tDumpList):
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.39 kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.40
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:1.39 Sun Aug 29 22:56:55 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/thread-impl.c Sun Aug 29 23:43:23 2004
@@ -29,11 +29,11 @@
#define MAINSTACKSIZE (1024*1024)
#endif
+#if defined(KAFFE_VMDEBUG)
+
static char stat_act[] = { ' ', 'a' };
static char stat_susp[] = { ' ', 's', ' ', 'r', ' ', ' ', ' ', ' ', ' ', ' ', ' ' };
static char stat_block[] = { ' ', 'T', 'm', ' ', 'c', ' ', ' ', ' ', 't', ' ', ' ' };
-
-#if defined(KAFFE_VMDEBUG)
#define TMSG_SHORT(_msg,_nt) \
dprintf(_msg" %p [tid:%4lx, java:%p]\n", \
More information about the kaffe
mailing list