RFR: 8358680: AOT cache creation fails: no strings should have been added
Vladimir Kozlov
kvn at openjdk.org
Wed Jun 18 17:46:29 UTC 2025
On Wed, 18 Jun 2025 17:27:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> I still dislike hooking up to compiler infrastructure to figure out if something is adding interned strings. I really, really dislike the divergence we would introduce with JDK 25 -> JDK 26 once a variant of [JDK-8357473](https://bugs.openjdk.org/browse/JDK-8357473) lands in mainline. I cannot yet think of better solution though, let me think about it some more. At very least we need to get the sequencing of patches right...
In long term I want VM to record all used C sting in some global table which AOT code can use indexes to it instead of pointers to strings:
https://bugs.openjdk.org/browse/JDK-8337519
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25816#issuecomment-2985179989
More information about the hotspot-dev
mailing list