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

Explicitly handle upcall stub allocation failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • 22
    • core-libs
    • None

      When allocating UpcallStubs in the code cache in UpcallStub::create, the new expression can potentially return nullptr when the code cache is full.

      For RuntimeStubs, which we use for FFM downcalls, this results in a fatal error. We should also handle this case explicitly in UpcallStub::create

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: