-
Enhancement
-
Resolution: Fixed
-
P4
-
8, 11, 17, 21
-
b08
In Generational ZGC, especially in Windows Github Actions `hotspot/jtreg/compiler/uncommontrap/TestDeoptOOM.java` test have a tendency to timeout. Most of the time is spent trying to recover from allocation stalls, but the code is purposely triggering OOM exceptions.
This enhancement proposes rewriting the code which consumes all memory, by reducing the number of OOM recoveries by an order of magnitude. This change should not effect the intent of the test.
An alternative solution would instrumenting the WhiteboxAPI with the consume all memory functionality. However this would be a much more intrusive change.
This enhancement proposes rewriting the code which consumes all memory, by reducing the number of OOM recoveries by an order of magnitude. This change should not effect the intent of the test.
An alternative solution would instrumenting the WhiteboxAPI with the consume all memory functionality. However this would be a much more intrusive change.