accessing the operand stack using jvmti/jwdp/jdi

Jim Holmlund jim.holmlund at sun.com
Thu Jun 7 09:40:13 PDT 2007


Hello Grzegorz.  We have a different alias for debugging, profiling,
etc.  It is serviceability-dev at openjdk.java.net.  You can see
descriptions of all the aliases here:
   http://mail.openjdk.java.net/mailman/listinfo

Regarding accessing the operand stack, we have this RFE:
   4508774:  Would like the function GetOperandStack in jvmti to be
             implemented 

We are hoping to implement this(and the corresponding features in
JDWP and JDI) for JDK 7, but plans are still in flux.

Jim Holmlund - JPDA Team, Java Software, Sun Microsystems, Inc.
 mailto:jim.holmlund at sun.com
 http://java.sun.com/javase/technologies/core/toolsapis/jpda



Grzegorz Antoniak writes:
 > Hello.
 > 
 >  I'm sorry if this will be the second post on the same issue. I've
 >  already sent a post on this group with the same topic, but it seems it
 >  has been lost somewhere.
 > 
 >  Anyway, the question which I would ask is: is it possible to access
 >  (read/write) the operand stack of a frame using JVMTI interface? I just
 >  want to be able to see the local variables in the function in compiled
 >  classes, without having any debug info (that is, classes compiled with
 >  -g:none). I'm using JDI interface, but since JDI is using JWDP, and
 >  JWDP uses JVMTI, then it all comes down to JVMTI, doesn't it?
 > 
 >  I've found some topics on sun's forums and some entries in the bug
 >  database, but some of them are already a few years old. From there I
 >  read that there is no possibility to access the operand stack in the
 >  current state of the JVM. Is this true? And, if it is, do you plan to
 >  implement this feature in JDK6, or 7?
 > 
 > -- 
 > Best regards, a1.
 > PGP/GPG: 78737BF9
 > 
 > 
 > 



More information about the hotspot-dev mailing list