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

Remove useless malloc error handling code in CMSCollector constructor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • hotspot
    • gc

      The CMSCollector constructor has a lot of code for handling malloc failures, search for
      "warning(... allocation failure)"

      Since the default reaction to malloc failures is to call vm_exit_out_of_memory and this is initial setup code it would be much cleaner to simply get rid of the failure handling code.

            Unassigned Unassigned
            mgerdin Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: