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

Test ExceptionDuringDumpAtObjectsInitPhase.java fail to initialize archive heap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • hotspot
    • None
    • generic
    • linux

      Test runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java fails after JDK-8306580, the test log snippet:

      [0.702s][info ][cds ] Regenerate MethodHandle Holder classes...done
      [0.710s][info ][cds ] Rewriting and linking classes: done
      [0.710s][info ][cds ] archivedBootLayer not available, disabling full module graph
      Transforming class jdk/internal/math/FDBigInteger
      Return bad buffer for jdk/internal/math/FDBigInteger
      [0.711s][error ][cds ] java.lang.IllegalArgumentException: Fail to initialize archive heap: jdk/internal/math/FDBigInteger cannot be loaded by the boot loader
      [0.711s][error ][cds ] An error has occurred while writing the shared archive file.
      [0.711s][error ][cds ] Unexpected exception, use -Xlog:cds,exceptions=trace for detail
      Error occurred during initialization of VM
      java.lang.IllegalArgumentException: Fail to initialize archive heap: jdk/internal/math/FDBigInteger cannot be loaded by the boot loader

      ];
       stderr: [An error has occurred while processing class list file /var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/lib/classlist 2404:5.
      class jdk/internal/math/FDBigInteger is not (yet) loaded by one of the built-in loaders]
       exitValue = 1

      java.lang.RuntimeException: 'VM exits due to exception, use -Xlog:cds,exceptions=trace for detail' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
      at ExceptionDuringDumpAtObjectsInitPhase.main(ExceptionDuringDumpAtObjectsInitPhase.java:72)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: