[RFA] Mostly implement JVMTI's GetThreadState

Tom Tromey tromey@redhat.com
Fri Apr 20 18:30:00 GMT 2007


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> I posted last week about what a pain it is turning out to
Keith> implement this function fully. I hate to do this, but I'm going
Keith> to have to ask maintainers to consider a patch which does not
Keith> fully implement this function.

I suppose I'm not overly concerned about that.
I think there are a lot of places to mark up.  Darn.

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

Do we need this?  We don't support Thread.suspend.  Do we support the
JVMTI thread suspension thing?  I didn't look (or remember).

Keith> +      Thread$State *ts = thread->getState ();

Thread.getState is not implemented.  Sorry.

Tom



More information about the Java-patches mailing list