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

COOPs crashes when heap PermSize is too large

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: hs20
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      COOPs crashes when PermSize is too large.

      > java -d64 -XX:+UseCompressedOops -XX:+UnlockDiagnosticVMOptions -XX:+PrintCompressedOopsMode -XX:MaxPermSize=32g -version

      Protected page at the reserved heap base: 0xfffffd71c0000000 / 65536 bytes

      heap address: 0xfffffd71c0010000, Compressed Oops with base: 0xfffffd71c000f000
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xfffffd7ff5feddfe, pid=1577, tid=2
      #
      # JRE version: 7.0-b121
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b03 mixed mode solaris-amd64 compressed oops)


      Fastdebug version fails with assertion
      # Internal Error (/export/HUDSON/workspace/jdk7-2-build-solaris-amd64-product/jdk7/hotspot/src/share/vm/oops/oop.inline.hpp:160), pid=1579, tid=2
      # assert(OopEncodingHeapMax > pd) failed: change encoding max if new encoding
      #


      Running with big Xmx works fine, 64bit opps are used, warning is printed:
      > Java HotSpot(TM) 64-Bit Server VM warning: Max heap size too large for Compressed Oops

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                epavlova Ekaterina Pavlova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: