RFR: 8339198: Remove tag field from AbstractPoolEntry
Chen Liang
liach at openjdk.org
Fri Sep 20 16:14:40 UTC 2024
On Thu, 19 Sep 2024 17:07:41 GMT, Chen Liang <liach at openjdk.org> wrote:
> The `tag` field in `AbstractPoolEntry` is redundant, as it's always of the same value for each subtype. This is now replaced with an override. This can reduce the footprint of the entries..
>
> The removal of `hash` was considered but withdrawn; in part because hash computations are heavy; in c2 things as simple as identity hash code are better stored in object fields for performance.
Thanks for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21093#issuecomment-2364068134
More information about the core-libs-dev
mailing list