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

LambdaForClassInBaseArchive: SimpleApp$$Lambda$1 missing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LambdaForClassInBaseArchive.java assumes that the name of the proxy class is SimpleApp$$Lambda$1. However, in this case, it's SimpleApp$$Lambda$2.

      [9.240s][info][cds,dynamic] Copying 44 klasses and 749 symbols
      [9.240s][info][cds ] Allocating RW objects ...
      [9.240s][info][cds ] done (865 objects)
      [9.240s][info][cds ] Allocating RO objects ...
      [9.241s][info][cds ] done (1704 objects)
      [9.241s][info][cds ] Relocating embedded pointers in core regions ...
      [9.241s][info][cds ] Relocating external roots ...
      [9.241s][info][cds ] done
      [9.241s][info][cds ] MetaspaceObjs estimate = 345472 used = 345472; diff = 0 bytes
      [9.242s][info][cds,dynamic] Archiving hidden sun.util.locale.provider.JRELocaleProviderAdapter$$Lambda$3/0x0000000800844df0
      [9.242s][info][cds,dynamic] Archiving hidden sun.util.cldr.CLDRLocaleProviderAdapter$$Lambda$1/0x0000000800841fa8
      [9.242s][info][cds,dynamic] Archiving hidden sun.util.locale.provider.JRELocaleProviderAdapter$$Lambda$4/0x0000000800845670
      [9.242s][info][cds,dynamic] Archiving hidden SimpleApp$$Lambda$2/0x0000000800800800
      [9.242s][info][cds ] Hashtables estimate = 8920 used = 8312; diff = 608 bytes
      [9.243s][info][cds ] Make classes shareable
      [9.244s][info][cds ] Adjust lambda proxy class dictionary
      [9.244s][info][cds ] Dumping shared data to file:
      [9.244s][info][cds ] /opt/mach5/mesos/work_dir/slaves/a4f8fba9-f017-4328-b286-c66b6a97143d-S8401/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c31c7753-50f4-4d0c-b961-59a2a4e276e4/runs/10e1e774-27fe-4326-9a56-dfe551c4ad88/testoutput/test-support/jtreg_open_test_hotspot_jtreg_runtime_cds_appcds/scratch/0/top-00h31m22s431.jsa
      [9.244s][info][cds ] Shared file region (mc ) 0: 1896 bytes, addr 0x0000000800778000 file offset 0x00001000 crc 0x9df5ae38
      [9.244s][info][cds ] Shared file region (rw ) 1: 145680 bytes, addr 0x0000000800779000 file offset 0x00002000 crc 0xdc224dd7
      [9.245s][info][cds ] Shared file region (ro ) 2: 208104 bytes, addr 0x000000080079d000 file offset 0x00026000 crc 0x39b81624
      [9.245s][info][cds ] Shared file region (bm ) 3: 5624 bytes, addr 0x0000000000000000 file offset 0x00059000 crc 0xcfb5f86c
      [9.245s][info][cds,dynamic] Written dynamic archive 0x0000000800778000 - 0x00000008007cfce8 [1056 bytes header, 359656 bytes total]
      [9.245s][info][cds,dynamic] 44 klasses; 749 symbols
      [9.245s][info][cds ] Verify After CDS dynamic dump
      ];
       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.
      ]
       exitValue = 0

      java.lang.RuntimeException: 'Archiving hidden SimpleApp$$Lambda$1' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:206)
      at LambdaForClassInBaseArchive.lambda$doTestCustomBase$0(LambdaForClassInBaseArchive.java:78)
      at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:145)
      at LambdaForClassInBaseArchive.doTestCustomBase(LambdaForClassInBaseArchive.java:76)
      at LambdaForClassInBaseArchive.testCustomBase(LambdaForClassInBaseArchive.java:55)
      at DynamicArchiveTestBase.runTest(DynamicArchiveTestBase.java:73)
      at LambdaForClassInBaseArchive.main(LambdaForClassInBaseArchive.java:49)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccheung Calvin Cheung
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: