RFR(M): 8007288: Additional WB API for compiler's testing
David Chase
david.r.chase at oracle.com
Thu Mar 28 14:52:52 PDT 2013
(Not a reviewer)
Could you run these tests on the "east" JPRT queue and see if they have any problems there?
We seem to have some surprisingly slow machines there, and that has caused problems with other tests.
David
On 2013-03-28, at 5:41 PM, Igor Ignatyev <igor.ignatyev at oracle.com> wrote:
> Hi all,
>
> Please review the patch.
>
> 1. added new functions to WhiteBox:
> public native boolean setForceInlineMethod(Method method, boolean value);
> public native boolean enqueueMethodForCompilation(Method method, int compLevel);
> public native void clearMethodState(Method method);
> 2. related changes in not whitebox code:
> - added 'Method::clear_not_*_compilable()' and corresponded 'AccessFlags::clear_not_*_compilable()'
> - added 'MethodData::init()' - reset method data into original state. reset all counters, flags
> 3. removed useless code:
> - 'if (!TieredCompilation) { comp_level = CompLevel_highest_tier; }' in CompileBroker::compile_method() -- there is no method calls w/ comp_level != CompLevel_highest_tier in non-tiered
> - 'MethodData::initialize(methodHandle method)' -- declaration w/o definition
> 4. added tests for new WB functions
>
> webrev: http://cr.openjdk.java.net/~iignatyev/8007288/webrev.00/
> jbs: https://jbs.oracle.com/bugs/browse/JDK-8007288
> --
> Best regards,
> Igor Ignatyev
More information about the hotspot-compiler-dev
mailing list