Code Review for 6987634

Prepared by:twisti on Tue Sep 28 15:14:46 CEST 2010
Workspace:/home/twisti/hotspot-comp/6987634
Compare against: /home/twisti/hotspot-comp/hotspot
Compare against version:1721
Summary of changes: 105 lines changed: 54 ins; 51 del; 0 mod; 884 unchg
Patch of changes: 6987634.patch
Author comments:
6987634: JSR 292 assert(start_bci() >= 0 && start_bci() < code_size()) failed: correct osr_bci argument
Reviewed-by:

MethodHandle.invoke* are native methods. When the inlining logic in
Compile::call_generator tries to inline these methods it fails because
these methods don't have any bytecode.

The fix is to move the logic that handles method handle invokes, which
generates bytecodes for these methods, before the normal inlining
logic.
Bug id: 6987634 JSR 292 assert(start_bci() >= 0 && start_bci() < code_size()) failed: correct osr_bci argument
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/opto/doCall.cpp

rev 1722 : [mq]: 6987634
105 lines changed: 54 ins; 51 del; 0 mod; 884 unchg

This code review page was prepared using /home/twisti/bin/webrev (vers 23.18-hg-never).