JDK-6959430 : Make sure raw loads have control edge
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs19
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: x86
  • Submitted: 2010-06-08
  • Updated: 2011-04-23
  • Resolved: 2011-04-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 6 JDK 7 Other
6u21pFixed 7Fixed hs19Fixed
Description
Tom Rodriguez wrote:
> The real underlying problem is that safepoint polls don't produce a new raw memory state so loads of raw are allowed to float above safepoint.

Comments
PUBLIC COMMENTS Added several missed control edges. And I added two checks. One is in factory methods so the call stack will show where it is called from. An other is in final graph reshape code to catch nodes for which constructors were used directly.
16-06-2010

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/4311f23817fd
16-06-2010