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

Andrew Dinn adinn at openjdk.org
Wed Sep 4 09:57:18 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/sharedRuntime.hpp line 50:

> 48: #define SHARED_STUB_ID_ENUM_DECLARE(name, type) STUB_ID_NAME(name),
> 49: enum class sharedStubId :int {
> 50:   NO_STUBID = -1,

This ought to be SharedStubId

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

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


More information about the hotspot-dev mailing list