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

Test PrintClasses hits assert when run with code that retransform classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 20
    • 20
    • hotspot
    • None
    • b29

    Backports

      Description

        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"


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: