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

TriggerUnloadingByFillingMetaspace generates garbage class names

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b06

      Backports

        Description

        test/hotspot/jtreg/vmTestbase/vm/share/gc/TriggerUnloadingByFillingMetaspace.java uses a shared GeneratedClassProducer between 30 threads. The GeneratedClassProducer generates class name strings using an unsynchronized StringBuilder. This results in garbage class names being generated and exceptions being thrown.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jcbeyler Jean Christophe Beyler
                Reporter:
                iignatyev Igor Ignatyev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: