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

Metaspace::allocate cannot be called with locks held safely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 11
    • 8, 9, 10
    • hotspot
    • None

    Description

      If we end up calling report_metadata_oome and post_resource_exhausted we do a transition to native and hit:
      assert(!thread->owns_locks(), "must release all locks when leaving VM");

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rehn Robbin Ehn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: