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

Shared archive not generated when jre/lib/endorsed contains more than one jar file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • hotspot
    • None
    • generic
    • generic

      Class Data Sharing fails when more than one jar file is contained
      in jre/lib/endorsed. The error message is:

      # ./java -client -Xshare:dump
      Loading classes to share ... done.
      Rewriting and unlinking classes ... done.
      Calculating hash values for String objects .. done.
      Calculating fingerprints ... done.
      Removing unshareable information ... done.
      Moving most read-only objects to shared space at 0xd4400000 ... done.
      Moving common symbols to shared space at 0xd473b870 ... done.
      Moving remaining symbols to shared space at 0xd4853f10 ... done.
      Moving string char arrays to shared space at 0xd48549a0 ... done.
      Moving additional symbols to shared space at 0xd48d0b70 ... done.
      Read-only space ends at 0xd4923678, 5387896 bytes.
      Moving read-write objects to shared space at 0xd4c00000 ... done.
      Moving String objects to shared space at 0xd5124f70 ... done.
      Read-write space ends at 0xd5160ac0, 5638848 bytes.
      Updating references to shared objects ... done.

      An error has occured while processing the shared archive file.
      Too many jar files to share.
      Error occurred during initialization of VM
      Unable to use shared archive.

            xlu Xiaobin Lu (Inactive)
            briand Brian Doherty (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: