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

Igor Ignatyev igor.ignatyev at oracle.com
Wed Aug 14 18:09:17 PDT 2013


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
-- 
Best regards,
Igor Ignatyev


More information about the hotspot-compiler-dev mailing list