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

runtime/cds/appcds/cacheObject/ArchiveHeapTestClass fails in production build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 21
    • hotspot
    • generic

      In JDK-8293182, ArchiveHeapTestClass was introduced. This class was only available in debug builds. Hence, the corresponding test has "requires" condition in it.
      @requires vm.cds.write.archived.java.heap

      However, this property is not set properly and the test is not skipping for production builds.

      Log Excerpt:
      Error: VM option 'ArchiveHeapTestClass' is develop and is available only in debug version of VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      [2023-02-08T04:46:08.747167918Z] Waiting for completion for process 22403
      [2023-02-08T04:46:08.747227304Z] Waiting for completion finished for process 22403

            rsunderbabu Ramkumar Sunderbabu
            rsunderbabu Ramkumar Sunderbabu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: