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

Incorrect error handling in Metaspace::allocate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b56

      Backports

        Description

        When an allocation has failed and we call report_metadata_oome
        we should be calling it with CHECK_NULL.
        The current code just passes THREAD an a comment claims that the next line is unreachable.

        I = M (incorrect error handling)
        L = M (only happens on failed allocations)
        W = M (avoid allocation failures)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgerdin Mikael Gerdin (Inactive)
                  Reporter:
                  mgerdin Mikael Gerdin (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: