RFR: 8339466: Enumerate shared stubs and define static fields and names via declarations [v2]

Andrew Dinn adinn at openjdk.org
Wed Sep 4 10:32:20 UTC 2024


On Tue, 3 Sep 2024 10:51:53 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> Systematize handling of SharedRuntime stubs. Generate enum ids, static fields and names from declarations using template macros. Systematically reference stubs and stub names using ids.
>
> Andrew Dinn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix errors in ppc generator

src/hotspot/share/runtime/stubDeclarations.hpp line 75:

> 73: // C1 stubs are always generated in a generic CodeBlob
> 74: 
> 75: #ifdef COMPILER1

c1 and Opto macros are not really needed in this PR so I'll remove them for now and re-add them in the follow-up PRs.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20832#discussion_r1743490014


More information about the hotspot-dev mailing list