JDK-7096639 : Tiered: Incorrect counter overflow handling for inlined methods
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-29
  • Updated: 2012-01-23
  • Resolved: 2012-01-23
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 8 Other
8Fixed hs23Fixed
Related Reports
Relates :  
Description
Currently inlined methods at compile levels 2 and 3 never generate invocation events (only back branch events). This could lead to unhandled invocation counter overflows in case an inlinee is never called as a separate method.

Comments
EVALUATION See main CR
07-10-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/dc45ae774613
30-09-2011

SUGGESTED FIX The fix is to call back into the runtime to report the inlinee invocation event but do so very infrequently, since we only need this to handle overflows rather than drive the policy.
29-09-2011