Re: inspect a thread’s stack

2018-04-06 Thread Martin Skarsaune
Hi Pietro Not sure JDI is what you really want, but if you would like to play with it I have some code here that uses the PID of the JVM to open a connection to itself and among other things print stack frames with variables: https://github.com/skarsaune/kantega.debug and some demo here: https://

Re: RFR (M): 8201247: Various cleanups in the attach framework

2018-04-06 Thread Chris Plummer
Hi Christoph, Can you explain a bit more about "fix handling of null values in ArgumentIterator::next". When does this turn up? Is there a test case? Everything else looks good. thanks, Chris On 4/6/18 8:01 AM, Langer, Christoph wrote: Hi, can I please get reviews for a set of clean up c

RFR: JDK-8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS

2018-04-06 Thread Jini George
Hello! Requesting reviews for: https://bugs.openjdk.java.net/browse/JDK-8174994 Webrev: http://cr.openjdk.java.net/~jgeorge/8174994/webrev.00/ While trying to identify the type given an address, a WrongTypeException was getting thrown with various clhsdb commands (like printmdo, jstack, etc).

inspect a thread’s stack

2018-04-06 Thread Pietro Paolini
Hi all, I apologise if this is not the right ML for it but I couldn’t find exactly what I was looking for when Googling the problem. I am a bit new to the JDI world. I would like to inspect the stack-frame of a specific thread, I came across the StackFrame/ThreadReference classes but I could

RFR (M): 8201247: Various cleanups in the attach framework

2018-04-06 Thread Langer, Christoph
Hi, can I please get reviews for a set of clean up changes that I came across when doing some integration work. Bug: https://bugs.openjdk.java.net/browse/JDK-8201247 Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8201247.0/ Detailed comments about the changes can be found in the bug. Than