JDK-8024069 : replace_in_map() should operate on parent maps
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs25
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2013-08-30
Updated:2017-09-05
Resolved:2013-10-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.
Having replace_in_map() operate on parent maps increase the chance that a type check benefits in the rest of the method.
Comments
Regarding the lack of test case: This change affects the quality of generated code and not correctness. It's hard to observe with a test case because it's hard for a test case to verify generated code.