Withdrawn: 8373256: [leyden] Enforce aligned reads/writes in code cache archive

duke duke at openjdk.org
Tue Feb 3 07:06:48 UTC 2026


On Mon, 8 Dec 2025 13:25:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Spotting a little inefficiency when looking at related code. `DataKind` is always stored as `int`, but its values are actually comfortably fitting in byte. Going to `int8_t` saves about 1% of AOT cache size. If this ever becomes a problem, we can always revert back to `int32_t`. I looked around other uses of `write_bytes`, and I believe `DataKind` is the most obvious opportunity.
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `runtime/cds`

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/leyden/pull/105


More information about the leyden-dev mailing list