CDS test SharedStringsStress.java failed with insufficient heap

XMLWordPrintable

    • b25

      ----------System.err:(51/4336)----------
       stdout: [[0.006s][info][cds] trying to map /System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S32701/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f191283c-b328-41c3-9ceb-68e5ae2c8a87/runs/bad87184-16a2-4be6-8237-90591ac16ee8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_aot_classlinking/scratch/2/appcds-14h06m04s737.jsa
      [0.006s][info][cds] Opened shared archive file /System/Volumes/Data/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S32701/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f191283c-b328-41c3-9ceb-68e5ae2c8a87/runs/bad87184-16a2-4be6-8237-90591ac16ee8/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_aot_classlinking/scratch/2/appcds-14h06m04s737.jsa.
      [0.006s][info][cds] The shared archive file was created with UseCompressedOops = 1, UseCompressedClassPointers = 1, UseCompactObjectHeaders = 0
      [0.006s][info][cds] Core region alignment: 16384
      [0.006s][info][cds] ArchiveRelocationMode: 1
      [0.006s][info][cds] Try to map archive(s) at an alternative address
      [0.006s][info][cds] Reserved archive_space_rs [0x00007c0000000000 - 0x00007c0002000000] (33554432) bytes (includes protection zone)
      [0.006s][info][cds] Reserved class_space_rs [0x00007c0002000000 - 0x00007c0042000000] (1073741824) bytes
      [0.007s][info][cds] Mapped static region #0 at base 0x00007c0000004000 top 0x00007c00005a0000 (ReadWrite)
      [0.007s][info][cds] Mapped static region #1 at base 0x00007c00005a0000 top 0x00007c00010e0000 (ReadOnly)
      [0.007s][info][cds] Mapped static region #2 at base 0x00000001074e0000 top 0x000000010755c000 (Bitmap)
      [0.009s][info][cds] archived module property jdk.module.main: (null)
      [0.009s][info][cds] archived module property jdk.module.addexports: (null)
      [0.009s][info][cds] archived module property jdk.module.addmods: (null)
      [0.009s][info][cds] archived module property jdk.module.enable.native.access: (null)
      [0.009s][info][cds] archived module property jdk.module.addopens: (null)
      [0.009s][info][cds] archived module property jdk.module.addreads: (null)
      [0.009s][info][cds] optimized module handling: enabled
      [0.009s][info][cds] full module graph: enabled
      [0.009s][info][cds] CDS archive was created with max heap size = 744M, and the following configuration:
      [0.009s][info][cds] narrow_klass_base at mapping start address, narrow_klass_pointer_bits = 32, narrow_klass_shift = 0
      [0.009s][info][cds] narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3
      [0.009s][info][cds] The current max heap size = 744M, G1HeapRegion::GrainBytes = 0
      [0.009s][info][cds] narrow_klass_base = 0x00007c0000000000, arrow_klass_pointer_bits = 32, narrow_klass_shift = 0
      [0.009s][info][cds] narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3
      [0.009s][info][cds] heap range = [0x0000000451800000 - 0x0000000480000000]
      [0.009s][error][cds] shared archive file has aot-linked classes but the archived heap objects cannot be loaded. Try increasing your heap size.
      [0.009s][error][cds] An error has occurred while processing the shared archive file. Run with -Xlog:aot,cds for details.
      [0.009s][error][cds] unrecoverable error
      Error occurred during initialization of VM
      Unable to use shared archive. Unrecoverable archive loading error (run with -Xlog:aot,cds for details): unrecoverable error
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: 'sharing' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
      at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:476)
      at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:467)
      at SharedStringsStress.test(SharedStringsStress.java:83)
      at SharedStringsUtils.run(SharedStringsUtils.java:71)

            Assignee:
            Ioi Lam
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: