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

Handle OOM when rematerializing objects less surprising

    XMLWordPrintable

Details

    Description

      In JDK-8226536 we did a test fix to a test that provokes OOM and runs into problem when failing to rematerialize scalar replaced objects in deoptimization.

      That bug report contains reproducers and thoughts. Some of the issues encountered:
      * The OOM is thrown from an unexpected place
      * The finally block is not run

      In the future with value types this situation might become more common. We need to decide how we want to handle this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              neliasso Nils Eliasson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: