Home
last modified time | relevance | path

Searched refs:getHotnessCounter (Results 1 – 3 of 3) sorted by relevance

/art/test/674-hotness-compiled/src/
DMain.java32 int counter = getHotnessCounter(Main.class, "$noinline$hotnessCount"); in main()
34 int newCounter = getHotnessCounter(Main.class, "$noinline$hotnessCount"); in main()
39 counter = getHotnessCounter(Main.class, "$noinline$hotnessCountWithLoop"); in main()
41 newCounter = getHotnessCounter(Main.class, "$noinline$hotnessCountWithLoop"); in main()
48 newCounter = getHotnessCounter(Main.class, "$noinline$hotnessCountWithLoop"); in main()
54 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() method in Main
/art/test/716-jli-jit-samples/src-art/
DMain.java30 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() method in Main
88 assertEquals(initialHotnessCounter, getHotnessCounter(MethodHandle.class, "invoke")); in testMethodHandleCounters()
89 … assertEquals(initialHotnessCounter, getHotnessCounter(MethodHandle.class, "invokeExact")); in testMethodHandleCounters()
107 getHotnessCounter(MethodHandle.class, "invoke")); in testMethodHandleCounters()
109 getHotnessCounter(MethodHandle.class, "invokeExact")); in testMethodHandleCounters()
121 assertEquals(initialHotnessCounter, getHotnessCounter(VarHandle.class, "set")); in testVarHandleCounters()
122 assertEquals(initialHotnessCounter, getHotnessCounter(VarHandle.class, "get")); in testVarHandleCounters()
134 assertEquals(initialHotnessCounter, getHotnessCounter(VarHandle.class, "set")); in testVarHandleCounters()
135 assertEquals(initialHotnessCounter, getHotnessCounter(VarHandle.class, "get")); in testVarHandleCounters()
142 initialHotnessCounter = getHotnessCounter(VarHandle.class, "set"); in main()
/art/test/2230-profile-save-hotness/src-art/
DMain.java38 int initialValue = getHotnessCounter(Main.class, methodName); in main()
56 getHotnessCounter(Main.class, methodName)); in main()
59 if (getHotnessCounter(Main.class, methodName) != 0) { in main()
61 getHotnessCounter(Main.class, methodName)); in main()
64 if (getHotnessCounter(Main.class, methodName) != initialValue) { in main()
66 "Expected " + initialValue +", got " + + getHotnessCounter(Main.class, methodName)); in main()
80 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() method in Main