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

NULL return from map_bitmap_region() needs to be checked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 19
    • Fix Version/s: 19
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      generic

      Description

      The following test timed out in the JDK19 CI, in a task that specifies the jtreg option "-vmoptions:-Dtest.cds.runtime.options=-XX:+UseSerialGC"

      runtime/cds/appcds/SharedArchiveConsistency.java

      Here's a snippet from the log file:

      8. modify _base_archive_name_offset to non-zero

          baseArchiveNameOffset = 0
      new baseArchiveNameOffset = 1024
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+5-210/macosx-x64-debug.jdk/jdk-19/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/classes/1/runtime/cds/appcds/SharedArchiveConsistency.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+5-210/src.full/open/test/hotspot/jtreg/runtime/cds/appcds:/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/classes/1/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+5-210/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=12.5 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/tmp -Dtest.cds.runtime.options=-XX:+UseSerialGC -XX:+UseSerialGC -Xshare:auto -showversion -XX:SharedArchiveFile=/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/scratch/1/17-base-arhive-path-offset-01h10m29s690.jsa -Dtest.timeout.factor=4.0 -XX:+UnlockDiagnosticVMOptions -XX:VerifyArchivedFields=1 -Xlog:cds -XX:+VerifySharedSpaces -cp /System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/scratch/1/hello.jar Hello ]
      [2022-01-13T01:10:30.422900Z] Gathering output for process 6968
      [ELAPSED: 3524 ms]
      [logging stdout to /System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/scratch/1/runtime.cds.appcds.SharedArchiveConsistency.java-0016-exec.stdout]
      [logging stderr to /System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S60189/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/544c9c19-d1f2-4fc9-b1f8-4c637c7f7dc3/runs/9de2271c-aede-4fca-bc4d-00a1a67ef442/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds/scratch/1/runtime.cds.appcds.SharedArchiveConsistency.java-0016-exec.stderr]
      [STDERR]
      java version "19-ea" 2022-09-20
      Java(TM) SE Runtime Environment (fastdebug build 19-ea+5-210)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+5-210, mixed mode)

      Note: this test may fail in very rare occasions due to CRC32 checksum collision
      ----------System.err:(1/15)----------
      STATUS:Passed.
      ----------rerun:(36/7260)*----------

      The test passed while the timeout handler was running.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: