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

JVM crashes with -XX:+EnableTracing

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: