8135068: Extract method matchers from CompilerOracle
Summary: Ecapsulate code to enable reuse
Reviewed-by: roland, kvn
--- a/test/lib/sun/hotspot/WhiteBox.java Wed Sep 16 16:54:22 2015 +0200
+++ b/test/lib/sun/hotspot/WhiteBox.java Fri Sep 18 10:09:38 2015 +0200
@@ -159,6 +159,7 @@
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) {