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

GenShen: Each mutator must see FullGC before throwing OOM

XMLWordPrintable

    • gc

      In the existing implementation, a mutator may throw OOM after consulting a global variable that indicates that a certain number of consecutive unproductive GCs have been observed.

      The problem with this approach is that the OOM thrown to one thread may cause that thread to cleanup memory so that other threads can proceed without OOM.

      This behavior is exploited in certain jtreg tests, such as gc/shenandoah/oom/TestThreadFailure.java.

      We need each thread to independently observe that an unproductive Full GC has been completed before that thread throws OOM.

            kdnilsen Kelvin Nilsen
            kdnilsen Kelvin Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: