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

JVM crashes with -XX:+EnableTracing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b105

      Backports

        Description

        I encountered JVM crash when I passed -XX:+EnableTracing.

        I checked core image, it crashed in EventBooleanFlagChanged::writeEvent()
        which is called by Arguments::apply_ergo() because thread had not been
        initialized. (JVM seems to log changing GC algorithm to G1.)

        writeEvent() uses ResourceMark. Default constructor of ResourceMark uses
        ResourceArea in current thread. So ResourceMark in writeEvent() should
        pass valid ResourceArea.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mgronlun Markus Grönlund
                Reporter:
                ysuenaga Yasumasa Suenaga
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: