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

[REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area

    XMLWordPrintable

Details

    • b25
    • generic
    • generic

    Backports

      Description

        The following test failed in the JDK14 CI:

        runtime/NMT/HugeArenaTracking.java

        Here's a snippet from the log file:

        section:main
        ----------messages:(5/498)----------
        command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail HugeArenaTracking
        reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail HugeArenaTracking
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 23.031
        ----------configuration:(4/115)----------
        Boot Layer
          add modules: java.base java.management
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(22/1277)*----------
        [2019-11-15T21:56:13.932676400Z] Gathering output for process 14812
        [2019-11-15T21:56:17.852986500Z] Gathering output for process 60944
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=\\services/mallocTracker.hpp:66
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (t:\\workspace\\open\\src\\hotspot\\share\\services/mallocTracker.hpp:66), pid=21124, tid=36528
        # assert(_size >= sz) failed: deallocation > allocated
        #
        # JRE version: Java(TM) SE Runtime Environment (14.0+24) (fastdebug build 14-ea+24-1076)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+24-1076, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
        # Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime\\scratch\\1\\hs_err_pid21124.mdmp
        #
        Unsupported internal testing APIs have been used.

        # An error report file with more information is saved as:
        # T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime\\scratch\\1\\hs_err_pid21124.log
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #
        ----------System.err:(0/0)----------
        ----------rerun:(42/5200)*----------

        Attachments

          Issue Links

            Activity

              People

                zgu Zhengyu Gu
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: