RFR(S) : 8022832 : Add WB APIs for OSR compilation

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Aug 15 12:22:28 PDT 2013


Looks fine to me.

Thanks,
Vladimir

On 8/14/13 6:09 PM, Igor Ignatyev wrote:
> Hi all,
>
> Please review patch containing changes in:
> * product code:
>    - method 'CompilationPolicy::can_be_osr_compiled' was added and used instead of condition
> '!m->is_not_osr_compilable(comp_level) && can_be_compiled(m, comp_level))'.
>    - added sanity check into 'Method::set_not_(osr_)compilable'
> * WB API:
>    - added new method 'getMethodEntryBci'
>    - argument 'bci' was added to 'enqueueMethodForCompilation'
>    - argument 'isOsr' was added to some methods
>    - 'getCompileQueuesSize()' was replaced by 'getCompileQueueSize(compLevel)'
> * test:
>    - added test cases for OSR compilation
>    - added bug numbers
>    - increased timeout
>
> testing: compiler/whitebox
> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8022832
> webrev: http://cr.openjdk.java.net/~iignatyev/8022832/webrev.00/
> 381 lines changed: 260 ins; 14 del; 107 mod


More information about the hotspot-compiler-dev mailing list