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

VM crashes when -XX:ObjectAlignmentInBytes is too big

XMLWordPrintable

    • b02
    • generic
    • generic
    • Verified

        Not sure if this is a real bug, but at least it is an easy way to crash HS 19 b03 containing CR 6916623 fix:

        $ java -XX:ObjectAlignmentInBytes=65536 -version

        VM option 'ObjectAlignmentInBytes=65536'
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/virtualspace.cpp:424
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/tmp/jprt/P1/B/234049.et151817/source/src/share/vm/runtime/virtualspace.cpp:424), pid=7945, tid=140098164266768
        # assert((_noaccess_prefix != 0) == (UseCompressedOops && _base != NULL && (size_t(_base + _size) > OopEncodingHeapMax) && Universe::narrow_oop_use_implicit_null_checks())) failed: noaccess_prefix should be used only with non zero based compressed oops
        #
        # JRE version: 6.0_22-b01
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b06-<...>.hotspot-fastdebug mixed mode linux-amd64 compressed oops)
        # An error report file with more information is saved as:
        # <...>/hs_err_pid7945.log
        #
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        #
        Current thread is 140098164266768
        Dumping core ...
        Aborted

              kvn Vladimir Kozlov
              kshiroko Kirill Shirokov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: