Integrated: 8344352: 32-bit builds crash after JDK-8305895
Aleksey Shipilev
shade at openjdk.org
Mon Nov 18 18:41:58 UTC 2024
On Mon, 18 Nov 2024 10:11:19 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> The underlying reason is that newly added `ObjLayout::initialize` is set up in `LP64` block, so 32-bit platforms miss it. I moved the initialization closer to VM init sequence, as it _is_ the essential part of VM init, not just argument parsing. This is the same thing I did in my POC patch in [JDK-8343648](https://bugs.openjdk.org/browse/JDK-8343648).
>
> Additional testing:
> - [x] Linux x86_32 fastdebug cross-build (now able to run simple things)
> - [x] Linux arm32 fastdebug cross-build (now able to run simple things)
>
> Both builds are still broken at build-time CDS creation steps due to CDS bug ([JDK-8344389](https://bugs.openjdk.org/browse/JDK-8344389)), but they do not fail with ObjLayout bug anymore.
This pull request has now been integrated.
Changeset: 26494063
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/26494063237ab50b1a86847da1b3ce3c44d55409
Stats: 4 lines in 2 files changed: 3 ins; 1 del; 0 mod
8344352: 32-bit builds crash after JDK-8305895
Reviewed-by: rkennke, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/22196
More information about the hotspot-runtime-dev
mailing list