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

Remove superfluous C heap allocation failure checks

XMLWordPrintable

    • gc
    • b11

      In GC code there are several places where code checks whether a preceeding allocation using e.g. the new operator or NEW_C_HEAP_ARRAY has been successful or not, and then in some way aborts VM initialization.

      Remove those checks as the memory allocation will by default exit the VM, making this superfluous code.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: