JDK-7071709 : JSR 292: switchpoint invalidation should be pushed not pulled
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:hs22
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2011-07-27
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.
EVALUATION
SwitchPoints use a MutableCallSite for its implementation. The fix is to treat the target field of constant CallSites as a compile time constant and add a dependence for invalidation of the optimization.