diff --git a/test/lib/sun/hotspot/WhiteBox.java b/test/lib/sun/hotspot/WhiteBox.java index db59ca92138..075188ed8ce 100644 --- a/test/lib/sun/hotspot/WhiteBox.java +++ b/test/lib/sun/hotspot/WhiteBox.java @@ -159,6 +159,7 @@ public class WhiteBox { public native int NMTGetHashSize(); // Compiler + public native int matchesMethod(Executable method, String pattern); public native int deoptimizeFrames(boolean makeNotEntrant); public native void deoptimizeAll(); public boolean isMethodCompiled(Executable method) {