JDK-6912063 : inlining parameters need to be adjusted for some uses of the JVM
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-12-19
  • Updated: 2010-04-02
  • Resolved: 2010-01-19
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 6 JDK 7 Other
6u21Fixed 7Fixed hs17Fixed
Currently, the inlining heuristics cannot be tuned in product builds.  This makes it impossible to tune them meaningfully, especially for uses of the JVM for languages other than Java, which may have radically different call graphs.

We should move the inlining heuristic flags into product mode (as hidden diagnostics, at least).

Also, call sites which serves a "glue" for JSR 292 should not be charged to the inlining depth heuristic.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/c3b315a0d58a

SUGGESTED FIX http://cr.openjdk.java.net/~jrose/6912063/webrev.00/