< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMethodDataAccessor.java

Print this page

        

*** 20,32 **** * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.hotspot; ! import static jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.*; ! ! import jdk.vm.ci.meta.*; /** * Interface for accessor objects that encapsulate the logic for accessing the different kinds of * data in a HotSpot methodDataOop. This interface is similar to the interface {@link ProfilingInfo} * , but most methods require a MethodDataObject and the exact position within the methodData. --- 20,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.hotspot; ! import static jdk.vm.ci.hotspot.HotSpotVMConfig.config; ! import jdk.vm.ci.meta.JavaMethodProfile; ! import jdk.vm.ci.meta.JavaTypeProfile; ! import jdk.vm.ci.meta.ProfilingInfo; ! import jdk.vm.ci.meta.TriState; /** * Interface for accessor objects that encapsulate the logic for accessing the different kinds of * data in a HotSpot methodDataOop. This interface is similar to the interface {@link ProfilingInfo} * , but most methods require a MethodDataObject and the exact position within the methodData.
*** 60,73 **** public int getValue() { return value; } - private static HotSpotVMConfig config() { - return runtime().getConfig(); - } - public static Tag getEnum(int value) { Tag result = values()[value]; assert value == result.value; return result; } --- 62,71 ----
< prev index next >