unloading_humongous_class_keep_class timed out

XMLWordPrintable

    • gc
    • x86_64
    • windows

      The following test timed out in the JDK19 CI:

      vmTestbase/gc/g1/unloading/tests/unloading_humongous_class_keep_class/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/802)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -Xlog:gc:gc.log -XX:-UseGCOverheadLimit gc.g1.unloading.UnloadingTest -humongousClass -keep class -numberOfChecksLimit 4 -stressTime 180
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -Xlog:gc:gc.log -XX:-UseGCOverheadLimit gc.g1.unloading.UnloadingTest -humongousClass -keep class -numberOfChecksLimit 4 -stressTime 180
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 3489.134
      ----------configuration:(4/115)----------
      Boot Layer
        add modules: java.base
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(159/8787)----------
      Timeout refired 480 times
      Stress time: 720 seconds
      Stress iterations factor: 1
      Stress threads factor: 1
      Stress runs factor: 1
      Max memory: 2136997888
      Sleep time: 500
      Iterations: 0
      Number of threads: 24
      Run GC thread: false
      Run mem diag thread: false
      Run forever: false
      releaseRefMode = NONE
      whatToKeep = CLASS
      classlodingMethod = REFLECTION
      numberOfGCsBeforeCheck = 50
      keepRefMode = STRONG_REFERENCE
      humongousClass = false
      compilationLevel = 0
      compilationNumber = 2
      redefineClasses = false
      inMemoryCompilation = false
      numberOfChecksLimit = 4
      For random generator using seed: 139317252182718668
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=139317252182718668" to command line.
      In method of generated class. Random.nextDouble = 0.7275636800328681
       Printing bytesToReplace0 bytesToReplace2

      <snip>

      In method of generated class. Random.nextDouble = 0.7275636800328681
       Printing bytesToReplace0 bytesToReplace2
       Check OK, class gc.g1.unloading.loading.ClassAbc_8___________, isAlive = true, shouldBeAlive = true
      Exiting because numberOfChecksLimit exceeded.
      ClassAssertion.getCounterOfCheckedAlive() = 4
      ClassAssertion.getCounterOfCheckedUnloaded() = 5
      bean.getName() = "G1 Young Generation", bean.getCollectionCount() = 60
      bean.getName() = "G1 Old Generation", bean.getCollectionCount() = 0
      ----------System.err:(1/16)----------
      STATUS:Passed.
      ----------rerun:(49/7372)*----------

      <snip>

      result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-19+11-598\windows-x64-debug.jdk\jdk-19\fastdebug\bin\java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 3450386ms).


      Please note that the test PASSED while the timeout handler
      was running.

            Assignee:
            Unassigned
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: