RFR: 8351778: JIT compiler fails when running -XX:AOTMode=create
Ioi Lam
iklam at openjdk.org
Thu Mar 13 05:10:16 UTC 2025
Since [JDK-8348426](https://bugs.openjdk.org/browse/JDK-8348426), `SymbolTable::_shared_table` is corrupted inside the `VM_PopulateDumpSharedSpace` safepoint. Afterwards, the JIT will fail to look up classes/fields/etc, resulting in various mysterious crashes.
The fix is to use a separate table for dumping.
-------------
Commit messages:
- 8351778: JIT compiler fails when running -XX:AOTMode=create
Changes: https://git.openjdk.org/jdk/pull/24024/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24024&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8351778
Stats: 26 lines in 1 file changed: 5 ins; 15 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/24024.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24024/head:pull/24024
PR: https://git.openjdk.org/jdk/pull/24024
More information about the hotspot-runtime-dev
mailing list