RFR: 8260044: Parallel GC: Concurrent allocation after heap expansion may cause unnecessary full gc [v2]

Thomas Schatzl tschatzl at openjdk.java.net
Sun Jan 31 17:13:46 UTC 2021


On Fri, 29 Jan 2021 12:53:20 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> src/hotspot/share/gc/parallel/psOldGen.hpp line 141:
>> 
>>> 139:     do {
>>> 140:       res = cas_allocate_noexpand(word_size);
>>> 141:       // Retry failed allocation if expand succeeds.
>> 
>> "... but allocation did not." would be nice to be added to this comment to be complete.
>
> That's a "failed allocation".

Agreed :)

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

PR: https://git.openjdk.java.net/jdk/pull/2309



More information about the hotspot-gc-dev mailing list