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

runtime/NMT/TotalMallocMmapDiffTest.java Total malloc diff is incorrect. Expected malloc diff range

XMLWordPrintable

    • b10
    • aarch64
    • linux

      The following test failed in the JDK24 CI:

      runtime/NMT/TotalMallocMmapDiffTest.java

      Here's a snippet from the log file:

      section:main
      ----------messages:(7/616)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary -Xms32m -Xmx32m TotalMallocMmapDiffTest
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary -Xms32m -Xmx32m TotalMallocMmapDiffTest
      started: Mon Jul 15 15:54:43 UTC 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      finished: Mon Jul 15 15:55:28 UTC 2024
      elapsed time (seconds): 44.431
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(2/140)----------
      [2024-07-15T15:55:20.913535417Z] Gathering output for process 1241215
      [2024-07-15T15:55:26.492723999Z] Gathering output for process 1241352
      ----------System.err:(11/895)----------
      java.lang.Exception: Total malloc diff is incorrect. Expected malloc diff range: [2.097152E8 - 3.145728E8]Actual malloc diff: 315717367
      at TotalMallocMmapDiffTest.main(TotalMallocMmapDiffTest.java:69)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.Exception: Total malloc diff is incorrect. Expected malloc diff range: [2.097152E8 - 3.145728E8]Actual malloc diff: 315717367
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Total malloc diff is incorrect. Expected malloc diff range: [2.097152E8 - 3.145728E8]Actual malloc diff: 315717367
      ----------rerun:(52/7745)*----------

            jsjolen Johan Sjölen
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: