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

assert(_owner_offset != 0) failed in javaClasses.cpp

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        assert(_owner_offset != 0) failed in javaClasses.cpp if the following tests are run in CDS mode.

        applications/kitchensink/Kitchensink.java Tier4
        applications/runthese/RunThese30M.java Tier3, Tier4
        java/lang/management/ThreadMXBean/FindDeadlocks.java Tier3
        java/lang/management/ThreadMXBean/LockedSynchronizers.java Tier3
        java/lang/management/ThreadMXBean/MyOwnSynchronizer.java Tier3

        open/src/hotspot/share/classfile/javaClasses.cpp:4424), pid=9653, tid=9662
        # assert(_owner_offset != 0) failed: Must be initialized
        #

        To reproduce the problem:
        - generate a CDS archive by running: java -Xshare:dump
        - run the test as usual using jtreg

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jiangli Jiangli Zhou
                  Reporter:
                  ccheung Calvin Cheung
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: