< prev index next >
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java
Print this page
@@ -119,10 +119,17 @@
public native static int getAddressSize() ;
@Override
public native String demangle(String sym);
+ public native long findLibPtrByAddress0(long pc);
+
+ @Override
+ public long findLibPtrByAddress(Address pc) {
+ return findLibPtrByAddress0(pc.asLongValue());
+ }
+
// Note on Linux threads are really processes. When target process is
// attached by a serviceability agent thread, only that thread can do
// ptrace operations on the target. This is because from kernel's point
// view, other threads are just separate processes and they are not
// attached to the target. When they attempt to make ptrace calls,
< prev index next >