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

It should be possible to allocate memory without the VM dying on failure.

XMLWordPrintable

    • b62

        This would be good when you are monitoring the VM, and causing allocations to occur as a result of this. In this case, you don't want a running production-vm to die because you asked it to print out its stacktrace for you.

        When using CHeap-based classes, we can use the std::nothrow-syntax today to allocate objects but not dying on failure. However, not when using Resource objects. This should be fixed.

              nloodin Nils Loodin (Inactive)
              nloodin Nils Loodin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: