Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8038286

nm->set_rtm_state() should be called after (nm != NULL) check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      x86
    • Verification:
      Verified

      Backports

        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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kvn Vladimir Kozlov
                Reporter:
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: