RE: inspect a thread’s stack

Pietro Paolini Pietro.Paolini at alfasystems.com
Mon Apr 9 08:40:39 UTC 2018


>Access to stacktraces with locals is demoed in this test
>http://hg.openjdk.java.net/jdk/jdk/file/tip/test/jdk/java/lang/StackWalker/LocalsAndOperands.java

Maybe I haven't read it well enough but isn't that accessible through https://docs.oracle.com/javase/9/docs/api/java/lang/StackWalker.html ? As long as you are on Java 9 that should not
be a problem. 

>but the functionality does not seem to be available (yet!) via a public API.

What do you mean ? Isn't that a public API ?

Thanks,
P.




More information about the serviceability-dev mailing list