United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7078382 JSR 292: don't count method handle adapters against inlining budgets
7078382 : JSR 292: don't count method handle adapters against inlining budgets

Details
Type:
Enhancement
Submit Date:
2011-08-12
Status:
Closed
Updated Date:
2011-10-07
Project Name:
JDK
Resolved Date:
2011-09-30
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs22
Fixed Versions:
hs22

Related Reports
Backport:
Backport:

Sub Tasks

Description
Currently the code size of method handle adapters are counted against inlining budgets like DesiredMethodLimit.  This results to earlier compiler bailouts with method handle call sites than without leading to worse performance.

                                    

Comments
EVALUATION

See main CR
                                     
2011-09-14
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/de847cac9235
                                     
2011-09-08
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/de847cac9235
                                     
2011-08-31
EVALUATION

The fix is to return zero bytecode size for method handle adapters for
inlining decisions.
*** (#1 of 1): [ UNSAVED ] ###@###.###
                                     
2011-08-12
SUGGESTED FIX

http://cr.openjdk.java.net/~twisti/7078382/
                                     
2011-08-12



Hardware and Software, Engineered to Work Together