RFR: 8360707: Globally enumerate all blobs, stubs and entries [v5]

Andrew Dinn adinn at openjdk.org
Thu Jul 3 14:43:42 UTC 2025


On Thu, 3 Jul 2025 13:19:32 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> Use the blob, stub and entry declarations to generate a single global enumeration for all blobs, likewise for all stubs and all entries. Modify stub generators in shared runtime, c1 runtime, c2 runtime and stub generator subsystems and their clients to use those enumerations consistently.
>
> Andrew Dinn has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - save blobs using blob ids
>  - make arg in declaration consistent with definition

@ashu-mehra Could you please review this PR. In particular, can you check the modifications I just made to the aotCodeCache blob save/load API. We need to save the blob using a blob id rather than a stub id.

n.b. I had to re-enable the AOTStubCaching flag to test these latest changes (currently, it is always disabled in aotCodeCache.cpp). None of the blob save/restore functionality is exercised without that override.

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

PR Comment: https://git.openjdk.org/jdk/pull/26004#issuecomment-3032528784


More information about the shenandoah-dev mailing list