RFR: 8371667: Shenandoah: Re-design alloc request type enum for better efficiency and cleaner code [v2]

Xiaolong Peng xpeng at openjdk.org
Thu Nov 13 00:29:05 UTC 2025


On Wed, 12 Nov 2025 17:25:52 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:

> > Now that we are doing this... I do wonder if we want to fold `_is_promotion` and `_affiliation` into the same bitset?
> 
> I'll take a look today and see if folding `_is_promotion` and `_affiliation` into the same bitset provides benefits we want.

I have made the change to fold `_is_promotion` and `_affiliation` into the same bitset of `_alloc`, but I am not 100% sure about whether we should do it or not.

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

PR Comment: https://git.openjdk.org/jdk/pull/28247#issuecomment-3524505491


More information about the hotspot-gc-dev mailing list