JDK-8038286 : nm->set_rtm_state() should be called after (nm != NULL) check
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • CPU: x86
  • Submitted: 2014-03-25
  • Updated: 2017-08-08
  • Resolved: 2014-03-25
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 8 JDK 9
8u20Fixed 9 b08Fixed
Related Reports
Relates :  
Description
Looking over nightly I saw some crushes in ciEnv::register_method(). They may be not related but I found a problem there with RTM changes.
nmethod::new_nmethod() may return NULL as result next instruction may cause crash:

#if INCLUDE_RTM_OPT
    nm->set_rtm_state(rtm_state);
#endif