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

runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found

    Details

    • Subcomponent:
    • Resolved In Build:
      b16

      Backports

        Description

        This happens on x86_32:

        STDERR:
         stdout: [[0.008s][info][cds] UseSharedSpaces: Specified shared archive not found.
        ];
         stderr: [Agent library loaded with options = java/lang/Object,XXX,XXX
        CLASS_NAME = java/lang/Object, FROM = XXX, TO = XXX
        openjdk version "13-internal" 2019-09-17
        OpenJDK Runtime Environment (fastdebug build 13-internal+0-adhoc.shade.jdk-jdk)
        OpenJDK Server VM (fastdebug build 13-internal+0-adhoc.shade.jdk-jdk, mixed mode)
        Exception in thread "main" java.lang.RuntimeException: class java.lang.Object should be shared but but actually is not.
        at ReplaceCriticalClasses.testInChild(ReplaceCriticalClasses.java:197)
        at ReplaceCriticalClasses.process(ReplaceCriticalClasses.java:54)
        at ReplaceCriticalClasses.main(ReplaceCriticalClasses.java:45)
        ]
         exitValue = 1

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shade Aleksey Shipilev
                  Reporter:
                  shade Aleksey Shipilev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: