RFR: 8356125: Interned strings are omitted from AOT cache [v2]

Aleksey Shipilev shade at openjdk.org
Wed May 7 12:58:17 UTC 2025


On Tue, 6 May 2025 23:02:59 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> We don't allow arbitrary user code to execute when we dump the heap (either java -Xshare:dump or java -XX:AOTMode=create). So the number of interned strings will be basically be limited to how many string literals you can fit into classfiles

Oh! This resolves my concern, thanks. I thought we end up saving the intern table that application can fill up to the brim, but that is apparently not the case.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25026#discussion_r2077566367


More information about the hotspot-dev mailing list