[omworld-jdk] Integrated: 8326752: Lilliput: OMCache: Add cache lookup unrolling

Axel Boldt-Christmas aboldtch at openjdk.org
Tue Feb 27 14:47:01 UTC 2024


On Tue, 27 Feb 2024 09:18:46 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> Implement unrolling of OM cache lookups in C2 so experiments and an evaluation can be performed.
> 
> Adds `OMC2UnrollCacheLookup`, `OMC2UnrollCacheLookupLoopTail` and `OMC2UnrollCacheEntires` flags which can be tuned cache lookup unrolling in C2. 
> 
> `OMC2UnrollCacheLookup` will unroll up to `OMC2UnrollCacheEntires` (depending on `OMCacheSize`) and if `OMC2UnrollCacheLookupLoopTail` is set and entries are left the rest of the cache will be checked.
> 
> All of these flags are temporary to allow for evaluation of the cache lookup in C2 (size and unrolling). See issue JDK-8326759

This pull request has now been integrated.

Changeset: 28bb8ddc
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
URL:       https://git.openjdk.org/lilliput/commit/28bb8ddc6418b8b4146dcae4a1686f4a0285c4ac
Stats:     215 lines in 5 files changed: 140 ins; 60 del; 15 mod

8326752: Lilliput: OMCache: Add cache lookup unrolling

Reviewed-by: rkennke

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

PR: https://git.openjdk.org/lilliput/pull/139


More information about the lilliput-dev mailing list