JVM crashes with -XX:+EnableTracing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: