gdb and OpenJDK

Andrew Haley aph at redhat.com
Thu Feb 12 09:15:20 UTC 2015


On 11/02/15 22:27, Jeremy Manson wrote:
> I think I've mentioned to some of the people on this list that we (and by
> we, I mean Sasha Smundak) have been working on interoperability between gdb
> and Java.  Basically, what we have now allows us to get a backtrace in gdb
> that includes Java frames with parameter values (no local variables yet).
> 
> Needless to say, this has been terribly, terribly helpful in our JVM and
> JNI debugging.

Thanks, that's a great start.

> Next, we need a plugin for OpenJDK.  We have a plugin written that calls
> out to the serviceability agent.  (It's written in Python, per gdb's
> requirements).

That's an interesting approach.

Andrew.



More information about the serviceability-dev mailing list