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

Metaspace::allocate cannot be called with locks held safely

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8, 9, 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: