Is it possible to find the corresponding object given a pointer into the Metaspace

Volker Simonis volker.simonis at gmail.com
Fri Sep 20 05:22:10 PDT 2013


Hi Coleen,

is it still possible to  find the corresponding object if one has a
pointer into the Metaspace. For example in the past one could simply
call 'find(bcp)' in the debugger with 'bcp' being a pointer into the
bytecode of a Java method. The result was the output of the
corresponding methodOop with method name and signature and the
bytecodes of the whole method. Is there a similar functionality
available after the class data isn't stored in the heap anymore?

Thank you and best regards,
Volker


More information about the hotspot-runtime-dev mailing list