RFR: 8342001: GenShen: Factor cases for allocation type into separate methods [v2]
Y. Srinivas Ramakrishna
ysr at openjdk.org
Tue Oct 15 18:00:42 UTC 2024
On Tue, 15 Oct 2024 17:35:04 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> I think it makes sense that the collector would take regions from the mutator according to the allocation bias for the _collector_. @kdnilsen , what do you think?
>
> When the collector is trying to allocate from the "mutator partition", it biases towards high end of memory because our general goal is long-lived data (except humongous objects which live at the low-end of memory) lives at high end of memory. Survivor regions (regions allocated by the collector) are assumed to be longer lived than ephemeral objects (regions allocated by the mutator).
Makes sense. A single line comment to that effect would be great.
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/511#discussion_r1801671949
More information about the shenandoah-dev
mailing list