On Thu, 19 Sep 2024 17:07:41 GMT, Chen Liang <li...@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.

This pull request has now been integrated.

Changeset: ab81197d
Author:    Chen Liang <li...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/ab81197d0ded93b82eea9f8fb35d1647c4520f1e
Stats:     140 lines in 1 file changed: 97 ins; 4 del; 39 mod

8339198: Remove tag field from AbstractPoolEntry

Reviewed-by: asotona, redestad

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

PR: https://git.openjdk.org/jdk/pull/21093

Reply via email to