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

G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b51

      Backports

        Description

        The following three hotspot JTREG tests failed consistently when run with -XX:ObjectAlignmentInBytes=32 on 64-bit Linux.
        The tested hotspot image was built from the rt source repository.

        The hs_err files are attached.

        gc/7168848/HumongousAlloc.java Failed. Unexpected exit from test [exit code: 134]

        Will allocate objects of size: 786432 bytes and sleep for 1000 ms after every 40th allocation.
        [GC pause (G1 Humongous Allocation) (young) (initial-mark) 34M->34M(100M), 0.0126390 secs]
        [GC concurrent-root-region-scan-start]
        [GC concurrent-root-region-scan-end, 0.0072270 secs]
        [GC concurrent-mark-start]
        [GC concurrent-mark-end, 0.0004270 secs]
        [GC remark, 0.0083470 secs]
        [GC cleanup 38M->5372K(100M), 0.0041380 secs]
        [GC concurrent-cleanup-start]
        [GC concurrent-cleanup-end, 0.0004670 secs]
        [GC pause (G1 Evacuation Pause) (young)# To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/concurrentMark.inline.hpp:397
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/java/east/u1/hseigel/bug_8009595/src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp:397), pid=19704, tid=139835555436304
        # assert(!_prevMarkBitMap->isMarked((HeapWord*) p)) failed: sanity
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b97) (build 1.8.0-ea-b97)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b37-internal-fastdebug mixed mode linux-amd64 compressed oops)
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /java/east/u1/hseigel/bug_8009595/jtregBug/JTwork/scratch/hs_err_pid19704.log




        gc/8000311/Test8000311.java Failed. Unexpected exit from test [exit code: 134]

        command: main -XX:+UseG1GC -XX:ParallelGCThreads=0 -XX:+ResizePLAB -XX:+ExplicitGCInvokesConcurrent Test8000311
        reason: User specified action: run main/othervm -XX:+UseG1GC -XX:ParallelGCThreads=0 -XX:+ResizePLAB -XX:+ExplicitGCInvokesConcurrent Test8000311
        elapsed time (seconds): 4.275
        ----------System.out:(20/1056)----------
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/concurrentMark.hpp:109
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/java/east/u1/hseigel/bug_8009595/src/share/vm/gc_implementation/g1/concurrentMark.hpp:109), pid=20202, tid=140482409461520
        # assert(offsetToHeapWord(heapWordToOffset(res)) == res) failed: sanity
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b97) (build 1.8.0-ea-b97)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b37-internal-fastdebug mixed mode linux-amd64 compressed oops)
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /java/east/u1/hseigel/bug_8009595/jtregBug/JTwork/scratch/hs_err_pid20202.log



        gc/metaspace/G1AddMetaspaceDependency.java Failed. Unexpected exit from test [exit code: 134]

        command: main -XX:+UseG1GC -XX:G1UpdateBufferSize=1 G1AddMetaspaceDependency
        reason: User specified action: run main/othervm -XX:+UseG1GC -XX:G1UpdateBufferSize=1 G1AddMetaspaceDependency
        elapsed time (seconds): 20.546
        ----------System.out:(20/1056)----------
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/concurrentMark.hpp:109
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/java/east/u1/hseigel/bug_8009595/src/share/vm/gc_implementation/g1/concurrentMark.hpp:109), pid=20690, tid=139639598860048
        # assert(offsetToHeapWord(heapWordToOffset(res)) == res) failed: sanity
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b97) (build 1.8.0-ea-b97)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b37-internal-fastdebug mixed mode linux-amd64 compressed oops)
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /java/east/u1/hseigel/bug_8009595/jtregBug/JTwork/scratch/hs_err_pid20690.log


          Attachments

          1. hs_err_pid19704.log
            53 kB
          2. hs_err_pid20202.log
            1.06 MB
          3. hs_err_pid20690.log
            47 kB
          4. hs_err_pid4754.log
            46 kB

            Issue Links

              Activity

                People

                • Assignee:
                  tschatzl Thomas Schatzl
                  Reporter:
                  hseigel Harold Seigel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: