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

gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java fails after JDK-8280761

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b21

      Description

      The following test failed in the JDK19 CI:

      gc/arguments/TestUseCompressedOopsFlagsWithUlimit.java

      Here's a snippet from the log file:

      ----------System.out:(4/2568)----------
      Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+19-1263/linux-x64-debug.jdk/jdk-19/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/779adf21-f3e5-4e6a-a889-8cc0f9bc6fbb-S14625/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f5f2749-8fb7-427a-8bf1-6ab5b234de70/runs/e3b44cf2-c2b6-441f-ad72-994c85e2bdc7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/classes/0/gc/arguments/TestUseCompressedOopsFlagsWithUlimit.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+19-1263/src.full/open/test/hotspot/jtreg/gc/arguments:/opt/mach5/mesos/work_dir/slaves/779adf21-f3e5-4e6a-a889-8cc0f9bc6fbb-S14625/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f5f2749-8fb7-427a-8bf1-6ab5b234de70/runs/e3b44cf2-c2b6-441f-ad72-994c85e2bdc7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/classes/0:/opt/mach5/mesos/work_dir/slaves/779adf21-f3e5-4e6a-a889-8cc0f9bc6fbb-S14625/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f5f2749-8fb7-427a-8bf1-6ab5b234de70/runs/e3b44cf2-c2b6-441f-ad72-994c85e2bdc7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/classes/0/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/junit.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/hamcrest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/testng.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jcommander.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/779adf21-f3e5-4e6a-a889-8cc0f9bc6fbb-S14625/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1f5f2749-8fb7-427a-8bf1-6ab5b234de70/runs/e3b44cf2-c2b6-441f-ad72-994c85e2bdc7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -XX:MaxRAM=34359738368 -XX:MaxRAMPercentage=100 -XX:+PrintFlagsFinal -version ]
      [2022-04-19T14:19:42.966830422Z] Gathering output for process 8341
      [2022-04-19T14:19:42.976057882Z] Waiting for completion for process 8341
      [2022-04-19T14:19:43.180178290Z] Waiting for completion finished for process 8341
      ----------System.err:(11/839)----------
      java.lang.RuntimeException: UseCompressedOops set to false, expected true when running with the following flags: [[-XX:MaxRAM=34359738368, -XX:MaxRAMPercentage=100, -XX:+PrintFlagsFinal, -version]]
      at gc.arguments.TestUseCompressedOopsFlagsWithUlimit.checkFlag(TestUseCompressedOopsFlagsWithUlimit.java:69)
      at gc.arguments.TestUseCompressedOopsFlagsWithUlimit.main(TestUseCompressedOopsFlagsWithUlimit.java:89)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: UseCompressedOops set to false, expected true when running with the following flags: [[-XX:MaxRAM=34359738368, -XX:MaxRAMPercentage=100, -XX:+PrintFlagsFinal, -version]]

      The test is failing in Tier2 and the failing build-ID has just the fix for:

      JDK-8280761 UseCompressedOops should be set after limit_heap_by_allocatable_memory

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschatzl Thomas Schatzl
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: