RFR (XS) 8251949: ZGC: Set explicit heap size for compiler/gcbarriers tests

Aleksey Shipilev shade at redhat.com
Tue Aug 18 18:26:17 UTC 2020


On 8/18/20 5:45 PM, Erik Österlund wrote:
> This seems fine. Although one of the reasons we implemented support for smaller heaps with ZGC 
> was as a response to various test failures, where tests would run on small heaps. And it seemed
> to make more sense to implement support for small heaps to make all tests happy, than to try to
> find all the tests that would have small heap sizes. 

Yup. I would be happy to see JDK-8234338 backported (by someone else :]).

> With that being said, there might be more
> tests popping up after a while, as we found ourselves. But until that day, this seems fine for
> now.

True. I am doing this because those two tests are in tier1 and they make noise in almost all test 
runs. We can certainly shrug off some of the OOM test failures when they run with ZGC explicitly.

I'll push once jdk-submit clears.

-- 
Thanks,
-Aleksey



More information about the hotspot-gc-dev mailing list