[RFA] JDWP ThreadStatus

Kyle Galloway kgallowa@redhat.com
Tue Apr 24 14:20:00 GMT 2007


This patch implements the JDWP side of the thread state/status command.  
It basically converts the JVMTI ThreadState info into one of the 
restrictive categories required by the JDWP spec.  This should be pretty 
straightforward, but I had some questions about what to do in the case 
that a thread has been created but has not yet started.  Clearly, it is 
not ZOMBIE, and the logic will eliminate WAIT, MONITOR, AND SLEEPING, so 
since the only possible status remaining is RUNNING (NEW doesn't exist), 
that's what I've set it to.

ChangeLog
2007-04-24  Kyle Galloway  <kgallowa@redhat.com>

    * gnu/classpath/jdwp/natVMVirtualMachine.java (getThreadStatus): 
Implement.

Questions/comments/concerns?

- Kyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdwpts.patch
Type: text/x-patch
Size: 2034 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070424/d5da4fc8/attachment.bin>


More information about the Java-patches mailing list