[lilliput-jdk17u:lilliput] Integrated: 8308011: [Lilliput/JDK17] Use narrow i-hash only when +UseCompactObjectHeaders

Roman Kennke rkennke at openjdk.org
Mon May 15 16:48:17 UTC 2023


On Fri, 12 May 2023 15:09:58 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> Currently, we use a narrow 25bit identity-hash-code in Lilliput. That is even the case when running without compact object headers, even though we could just as well use the original 31bit identity hash-code then.
> 
> The fix is relatively simple. This is a backport of https://github.com/openjdk/lilliput/pull/93. Also, this brings the code in line with what we're currently proposing in upstream https://github.com/openjdk/jdk/pull/13844.
> 
> Testing:
>  - [x] tier1 +UseCompactObjectHeaders
>  - [ ] tier2 +UseCompactObjectHeaders
>  - [x] tier1 -UseCompactObjectHeaders
>  - [ ] tier2 -UseCompactObjectHeaders

This pull request has now been integrated.

Changeset: 2c69915a
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.org/lilliput-jdk17u/commit/2c69915a57be39b1673962056717020ecd72520b
Stats:     61 lines in 7 files changed: 45 ins; 2 del; 14 mod

8308011: [Lilliput/JDK17] Use narrow i-hash only when +UseCompactObjectHeaders

Reviewed-by: shade

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

PR: https://git.openjdk.org/lilliput-jdk17u/pull/16


More information about the lilliput-dev mailing list