RFR: 8289743: AArch64: Clean up patching logic [v2]

Andrew Dinn adinn at openjdk.org
Thu Jul 14 14:42:08 UTC 2022


On Wed, 13 Jul 2022 08:54:10 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Another possibility would be to have the dispatch logic simply return a unique enum value for each of the various distinguished leading instruction sub-cases and then have the retrieve and patch methods do a second switch on the returned enum value.

... of course, rather than rely on a switch I guess a pucker OO solution would use a virtual dispatch ... :-)

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

PR: https://git.openjdk.org/jdk/pull/9398


More information about the hotspot-dev mailing list