RFR: 8259776: Remove ParallelGC non-CAS oldgen allocation [v2]

Kim Barrett kbarrett at openjdk.java.net
Sat Jan 16 11:59:31 UTC 2021


On Fri, 15 Jan 2021 15:04:17 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   record oldgen mutator allocations in size policy
>
> src/hotspot/share/gc/parallel/psOldGen.hpp line 137:
> 
>> 135:   void resize(size_t desired_free_space);
>> 136: 
>> 137:   HeapWord* allocate(size_t word_size) {
> 
> Before this change there has been a small semantical difference between `allocate()` and `par_allocate()`. The former also updated the size policy, which seem to be missing now in `ParallelScavengeHeap::mem_allocate_old_gen()` and `ParallelScavengeHeap::failed_mem_allocate()`.

Oops, I forgot about that and got overly enthusiastic about code deletion.  Thanks for spotting it.

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

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



More information about the hotspot-gc-dev mailing list