Test PrintClasses hits assert when run with code that retransform classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • None
    • b29

        The test PrintClasses runs two jcmd on its own process and if run with JFR the second jcmd triggers an assertion in the JVM:
        assert(field_holder() == ik) failed: must be already initialized to this class

        Can be reproduced with:
        test TEST=runtime/CommandLine/PrintClasses.java JTREG="JAVA_OPTIONS=-XX:StartFlightRecording"


              Assignee:
              Coleen Phillimore
              Reporter:
              Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: