[RFA] Mostly implement JVMTI's GetThreadState

Keith Seitz keiths@redhat.com
Thu Apr 19 03:32:00 GMT 2007


Hi,

I posted last week about what a pain it is turning out to implement this 
function fully. I hate to do this, but I'm going to have to ask 
maintainers to consider a patch which does not fully implement this 
function. This is a real blocker for continued JDWP testing with Eclipse.

Keith

boehm-gc/ChangeLog:
2007-04-18  Keith Seitz  <keiths@redhat.com>

         * include/gc.h (GC_is_thread_suspended): Declare.
         * pthread_stop_world.c (GC_is_thread_suspended): New function.

ChangeLog:
2007-04-18  Keith Seitz  <keiths@redhat.com>

         * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
         * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
         * boehm.cc (_Jv_IsThreadSuspended): New function.
         * nogc.cc (_Jv_IsThreadSuspended): Likewise.
         * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
         (_Jv_JVMTI_Interface): Define GetThreadState.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc-suspend-query.patch
Type: text/x-patch
Size: 1060 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070419/651a63a4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jvmti-getthreadstate.patch
Type: text/x-patch
Size: 4816 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070419/651a63a4/attachment-0001.bin>


More information about the Java-patches mailing list