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

CMS concurrentMarkSweepGeneration contains lots of unnecessary allocation failure handling

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b64

      Backports

        Description

        CMS' concurrentMarkSweepGeneration.cpp contains a lot of cases where heap memory is allocated (e.g .via NEW_C_HEAP_ARRAY), followed by code that tries to handle failed allocation.

        However, these allocation methods all exit the VM on memory allocation failure, making this code unnecessary.

        Remove this unnecessary memory allocation failure handling code.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  david David Lindholm (Inactive)
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: