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

SharedMiscDataSize min range value not big enough

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • 9
    • 9
    • hotspot
    • None

    Description

      # jdk_java -XX:+PrintFlagsRanges -version | grep SharedMiscDataSize
         size_t SharedMiscDataSize [ 27200 ... 2113802239 ] {product}

      but that min size is not large enough:

      # jdk_java -Xshare:dump -XX:SharedMiscDataSize=27200
      Allocated shared space: 33705984 bytes at 0x0000000800000000
      Loading classes to share ...
      ...
      Loading classes to share: done.
      Rewriting and linking classes ...
      Rewriting and linking classes: done
      Number of classes 2175
          instance classes = 2161
          obj array classes = 6
          type array classes = 8
      Updating ConstMethods ... done.
      Removing unshareable information ... done.
      Java HotSpot(TM) 64-Bit Server VM warning:
      The shared miscellaneous data space is not large enough
      to preload requested classes. Use -XX:SharedMiscDataSize=<size>
      to increase the initial size of shared miscellaneous data space.

      Attachments

        Issue Links

          Activity

            People

              gziemski Gerard Ziemski
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: