Пример #1
0
 /** Breakpoint support (see methods on methodOop for details) */
 public BreakpointInfo getBreakpoints() {
   Address addr = getHandle().getAddressAt(Oop.getHeaderSize() + breakpoints.getOffset());
   return (BreakpointInfo) VMObjectFactory.newObject(BreakpointInfo.class, addr);
 }
Пример #2
0
 // get associated compiled native method, if available, else return null.
 public NMethod getNativeMethod() {
   Address addr = code.getValue(getHandle());
   return (NMethod) VMObjectFactory.newObject(NMethod.class, addr);
 }