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

java -Xshare:dump failed - read only space too small

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: hs16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b68
    • Introduced In Version:
      7
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Hi-

        Several of my JDK7 JPRT build/test jobs failed recently with:

        > > Failure reason: Target solaris_i586-fastdebug-c1-jvm98 FAILED. The
        > > preparation of the built bits failed. Post install step failed:
        > > rv=2,stdout="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 pre-ordered read-only objects to shared space at 0xd8000000 ... done.
        > > Moving read-only objects to shared space at 0xd85eb338 ... done.
        > > Moving common symbols to shared space at 0xd85ed2e8 ... done.
        > > Moving remaining symbols to shared space at 0xd86c2728 ... done.
        > > Moving string char arrays to shared space at 0xd86c38d8 ... done.
        > > Moving additional symbols to shared space at 0xd8782d08 ... Java HotSpot(TM)
        > > Client VM warning:
        > > The permanent generation read only space is not large enough to
        > > preload requested classes. Use -XX:SharedReadOnlySize= to increase
        > > the initial size of the read only space.
        > >
        > > ",stderr="" Target solaris_i586-fastdebug-c2-jvm98 FAILED. The preparation of
        > > the built bits failed. Post install step failed: rv=2,stdout="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 pre-ordered read-only objects to shared space at 0xd8000000 ... done.
        > > Moving read-only objects to shared space at 0xd85eb338 ... done.
        > > Moving common symbols to shared space at 0xd85ed2e8 ... done.
        > > Moving remaining symbols to shared space at 0xd86c2728 ... done.
        > > Moving string char arrays to shared space at 0xd86c38d8 ... done.
        > > Moving additional symbols to shared space at 0xd8782d08 ... Java HotSpot(TM)
        > > Client VM warning:
        > > The permanent generation read only space is not large enough to
        > > preload requested classes. Use -XX:SharedReadOnlySize= to increase
        > > the initial size of the read only space.
        > >
        > > ",stderr="" Target solaris_x64-fastdebug-c2-jvm98 FAILED. The preparation of
        > > the built bits failed. Post install step failed: rv=2,stdout="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 pre-ordered read-only objects to shared space at 0xd8000000 ... done.
        > > Moving read-only objects to shared space at 0xd85eb338 ... done.
        > > Moving common symbols to shared space at 0xd85ed2e8 ... done.
        > > Moving remaining symbols to shared space at 0xd86c2728 ... done.
        > > Moving string char arrays to shared space at 0xd86c38d8 ... done.
        > > Moving additional symbols to shared space at 0xd8782d08 ... Java HotSpot(TM)
        > > Client VM warning:
        > > The permanent generation read only space is not large enough to
        > > preload requested classes. Use -XX:SharedReadOnlySize= to increase
        > > the initial size of the read only space.
        > >
        > > ",stderr=""

        It appears the fastdebug build has grown enough to blow through some
        preallocated size.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcoomes John Coomes
                  Reporter:
                  tbell Tim Bell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: