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

Test PrintClasses hits assert when run with code that retransform classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • 20
    • 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"


              coleenp Coleen Phillimore
              sjohanss Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: