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

JVM crashes with -XX:+EnableTracing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b105

        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.

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

                Created:
                Updated:
                Resolved: