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

some GC stress tests fail due to OOM in EA materialization

XMLWordPrintable

      Some GC stress tests attempt to capture OOM to detect success of the test but it's not always possible to do this in the presence of escape analyzed objects. Deoptimization rematerializes objects before resuming in the interpreter but this can be outside of any catch blocks that protected the original allocation. Graal in particular, is aggressive about escape analysis and so some tests fail intermittently if the OOM occurs at a surprising place. These tests either need to disable escape analysis or should have broader catch blocks. ZGC in particular seems to have less headroom for the allocations as the failure is more common with it.

            dnsimon Douglas Simon
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: