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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • b08
    • x86
    • Verified

        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

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

                Created:
                Updated:
                Resolved: