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

Array classes should be stored in dynamic CDS archive

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • hotspot
    • b09

      See https://github.com/openjdk/jdk/blob/09514745fc87d5a212bdf09399aa2045f02b4612/src/hotspot/share/cds/archiveBuilder.cpp#L489

      bool ArchiveBuilder::is_excluded(Klass* klass) {
        ...
        } else if (klass->is_objArray_klass()) {
          if (DynamicDumpSharedSpaces) {
            // Don't support archiving of array klasses for now (WHY???)
            return true;
          }
         ...

            ccheung Calvin Cheung
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: