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

Test TestRegionSamplingLogging.java#generational-rotation fails with TEST_THREAD_FACTORY=Virtual

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • hotspot
    • gc
    • x86_64
    • linux

      The newly added test gc/shenandoah/TestRegionSamplingLogging.java#generational-rotation
       intermiyttent fails with TEST_THREAD_FACTORY=Virtual on linux-x64.
      The test log snippet:
      messages:
      command: main -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling -XX:+ShenandoahRegionSampling -Xlog:gc+region=trace:region-snapshots-%p.log::filesize=100,filecount=3 -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational TestRegionSamplingLogging
      reason: User specified action: run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling -XX:+ShenandoahRegionSampling -Xlog:gc+region=trace:region-snapshots-%p.log::filesize=100,filecount=3 -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational TestRegionSamplingLogging
      started: Thu Dec 05 23:58:46 CST 2024
      Mode: othervm [/othervm specified]
      finished: Thu Dec 05 23:58:47 CST 2024
      elapsed time (seconds): 1.835
      configuration:
      STDOUT:
      []
      STDERR:
      java.lang.IllegalStateException: Did not find expected snapshot log file.
      at TestRegionSamplingLogging.main(TestRegionSamplingLogging.java:65)

            wkemper William Kemper
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: