8135068: Extract method matchers from CompilerOracle

Ecapsulate code to enable reuse

Reviewed-by: roland, kvn
This commit is contained in:
Nils Eliasson 2015-09-18 10:09:38 +02:00
parent fd8fa9290c
commit 7c1b9aaf06

View File

@ -159,6 +159,7 @@ public class WhiteBox {
public native int NMTGetHashSize(); public native int NMTGetHashSize();
// Compiler // Compiler
public native int matchesMethod(Executable method, String pattern);
public native int deoptimizeFrames(boolean makeNotEntrant); public native int deoptimizeFrames(boolean makeNotEntrant);
public native void deoptimizeAll(); public native void deoptimizeAll();
public boolean isMethodCompiled(Executable method) { public boolean isMethodCompiled(Executable method) {