agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java

agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java

Print this page

        

*** 169,189 **** // in the CodeCache they are defined virtual here) public boolean isZombie() { return false; } public boolean isLockedByVM() { return false; } /** OopMap for frame; can return null if none available */ ! public OopMapSet getOopMaps() { Address oopMapsAddr = oopMapsField.getValue(addr); if (oopMapsAddr == null) { return null; } ! return new OopMapSet(oopMapsAddr); } // FIXME: not yet implementable ! // void set_oop_maps(OopMapSet* p); ! public OopMap getOopMapForReturnAddress(Address returnAddress, boolean debugging) { Address pc = returnAddress; if (Assert.ASSERTS_ENABLED) { Assert.that(getOopMaps() != null, "nope"); } return getOopMaps().findMapAtOffset(pc.minus(codeBegin()), debugging); --- 169,189 ---- // in the CodeCache they are defined virtual here) public boolean isZombie() { return false; } public boolean isLockedByVM() { return false; } /** OopMap for frame; can return null if none available */ ! public ImmutableOopMapSet getOopMaps() { Address oopMapsAddr = oopMapsField.getValue(addr); if (oopMapsAddr == null) { return null; } ! return new ImmutableOopMapSet(oopMapsAddr); } // FIXME: not yet implementable ! // void set_oop_maps(ImmutableOopMapSet* p); ! public ImmutableOopMap getOopMapForReturnAddress(Address returnAddress, boolean debugging) { Address pc = returnAddress; if (Assert.ASSERTS_ENABLED) { Assert.that(getOopMaps() != null, "nope"); } return getOopMaps().findMapAtOffset(pc.minus(codeBegin()), debugging);
agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File