RFR(M): 8006683: Add WhiteBox API to testing of compiler

Igor Ignatyev igor.ignatyev at oracle.com
Tue Jan 29 12:31:46 PST 2013


Hi all,

Please review the patch

1. added new functions to WhiteBox:
   public native void    deoptimizeAll();
   public native boolean isMethodCompiled(Method method);
   public native boolean isMethodCompilable(Method method);
   public native boolean isMethodQueuedForCompilation(Method method);
   public native int     deoptimizeMethod(Method method);
   public native boolean setDontInlineMethod(Method method, boolean value);
   public native int     getCompileQueuesSize();

2. added test 'test/compiler/WBApiTest.java' which exercises these functions

3. added result type to macro WB_METHOD_DECLARE

webrev: http://cr.openjdk.java.net/~vlivanov/8006683/webrev.00/
-- 
Best regards,
Igor Ignatyev


More information about the hotspot-compiler-dev mailing list