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.
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.
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.