JDK-7078382 : JSR 292: don't count method handle adapters against inlining budgets
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs22
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-08-12
  • Updated: 2011-10-07
  • Resolved: 2011-09-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u2Fixed 8Fixed hs22Fixed
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
14-09-2011

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

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

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

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