Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-7077439 : Possible reference through NULL in loopPrdicate.cpp:726
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs22
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: sparc
  • Submitted: 2011-08-10
  • Updated: 2011-11-25
  • 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 Other
7Fixed hs21Fixed
Description
VM crashed at the next line when I tried to port 7070134 into HS20:

    BoolTest::mask bt = cl->loopexit()->test_trip();

It crushed because cl->loopexit() == NULL. I did not see such crush with latest HS22 sources but it does not mean it can't happen. The check cl->is_valid_counted_loop() should be used in the code to avoid such crush.

Comments
EVALUATION See main CR
2011-09-12

EVALUATION See main CR
2011-09-01

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/6987871cfb9b
2011-08-23

WORK AROUND Use this flag as workaround: -XX:-UseLoopPredicate
2011-08-22

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/6987871cfb9b
2011-08-11