classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [RFA/JDWP] StackFrameCommandSet


From: Aaron Luchko
Subject: [cp-patches] [RFA/JDWP] StackFrameCommandSet
Date: Fri, 05 Aug 2005 15:58:23 -0400

This is the StackFrame command set
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdwp/jdwp-protocol.html#JDWP_StackFrame

I'm not entirely sure what our classpath level Frame object will look
like in the end. For this I just have class with a bunch of getters and
setters now which may turn out to be all we need in classpath.

Another thing is although Frames look like other ids they are not. First
they are not ObjectIds since they don't exist in the users code. Storing
them as an ObjectId would mean they could be garbage collected since no
one else has a reference to them. Furthermore they are not
ReferenceTypeIds since these are held permanently and we want these to
be held only as long as the Thread is suspended. For now we will query
the VM for them directly although in the future it may make sense to
store them in some classpath level Object which represents a suspended
thread.

thanks, Aaron

ChangeLog
2005-08-04  Aaron Luchko  <address@hidden>
        *gnu/classpath/jdwp/processor/StackFrameCommandSet.java:
        Implemented the StackFrame CommandSet.

Attachment: jdwpStackFrame.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]