diff -r a9f729b641a3 -r 1dc9bf9d016b test/lib/sun/hotspot/WhiteBox.java --- a/test/lib/sun/hotspot/WhiteBox.java Tue May 07 07:44:15 2019 +0200 +++ b/test/lib/sun/hotspot/WhiteBox.java Tue May 07 09:17:03 2019 +0200 @@ -330,6 +330,7 @@ return enqueueInitializerForCompilation0(aClass, compLevel); } private native void clearMethodState0(Executable method); + public native void markMethodProfiled(Executable method); public void clearMethodState(Executable method) { Objects.requireNonNull(method); clearMethodState0(method);