JDK-8210756 : [lworld] C2 should optimize default oop load from known value klass
Type:Enhancement
Component:hotspot
Sub-Component:compiler
Affected Version:repo-valhalla
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2018-09-14
Updated:2018-09-24
Resolved:2018-09-24
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.
We should add a corresponding LoadNode::Value transformation similar to what we have for a java mirror load:
http://hg.openjdk.java.net/valhalla/valhalla/file/3026ac6c13f3/src/hotspot/share/opto/memnode.cpp#l1837