RFR: 8307058: Implementation of Generational ZGC [v2]

Stefan Karlsson stefank at openjdk.org
Wed May 3 19:45:31 UTC 2023


On Wed, 3 May 2023 18:57:22 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix PPC build after 8305668
>
> test/jdk/com/sun/jdi/ThreadMemoryLeakTest.java line 30:
> 
>> 28:  *
>> 29:  * @comment Don't allow -Xcomp or -Xint as they impact memory useage and number of iterations
>> 30:  * @requires (vm.compMode == "Xmixed") & !(vm.gc.Z & vm.opt.final.ZGenerational)
> 
> Seems like a bug should be filed for this failure and then problem listed. This test is a bit finicky w.r.t. the specified max heap size and how much memory ends up actually being used by the test. I can probably get it working without much of a problem.

Yes, the test was finicky with the heap size. Given that the leak it tries to provoke would be provoked by other GCs as well, we didn't think it was that important to run this particular test with Generational ZGC. If you still think that we should create a Bug and ProblemList it, I'll do so.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13771#discussion_r1184180837


More information about the hotspot-dev mailing list