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

Classes with signer should not be copied to archive spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 10, 11
    • hotspot
    • 10

      Dictionary::reorder_dictionary_for_sharing() deletes a class entry from dictionary if the class has signer. Class metadata is copied into the archived spaces before Dictionary::reorder_dictionary_for_sharing() call. The metadata for classes with signer is still left in the shared spaces although the dictionary entries are deleted, which cause memory waste in the shared spaces. During metadata copying, it should check if a class has signer and avoid copying any class with signers.

            jiangli Jiangli Zhou
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: