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

COOPs crashes when heap PermSize is too large

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • hs20
    • hotspot
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: