RFR: 8364929: Assign unique id to each AdapterBlob stored in AOTCodeCache

Ashutosh Mehra asmehra at openjdk.org
Tue Sep 30 16:37:23 UTC 2025


On Tue, 30 Sep 2025 16:03:38 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> How you insure that the order of adapters generation is the same in assembly and production runs?

Adapters are not generated again in the production run. The adapter id is part of the AdapterHandlerEntry and they are stored in the AOTCache in the assembly run. In the production run when they are loaded back, we get the max id and use it populate the running id counter. Any new adapter generated in the production run gets the next id. Does that help?

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

PR Comment: https://git.openjdk.org/jdk/pull/27553#issuecomment-3352982897


More information about the hotspot-dev mailing list