Re: RFR: 8350334: Add final keywords to FFM methods

2025-02-21 Thread Maurizio Cimadamore
On Wed, 19 Feb 2025 14:23:04 GMT, Per Minborg wrote: > This PR proposes to add the `final` keyword to some classes and methods in > order to assist compiler devirtualization (e.g. in Graal native image). > > Passes `make test TEST=jdk_foreign` I have no objection with this -- but I do think th

Re: RFR: 8350334: Add final keywords to FFM methods

2025-02-19 Thread Chen Liang
On Wed, 19 Feb 2025 14:23:04 GMT, Per Minborg wrote: > This PR proposes to add the `final` keyword to some classes and methods in > order to assist compiler devirtualization (e.g. in Graal native image). > > Passes `make test TEST=jdk_foreign` Looks simple and trivial. - Marked a

RFR: 8350334: Add final keywords to FFM methods

2025-02-19 Thread Per Minborg
This PR proposes to add the `final` keyword to some classes and methods in order to simplify compiler devirtualization (e.g. in Graal native image). Passes `make test TEST=jdk_foreign` - Commit messages: - Make methods and classes final Changes: https://git.openjdk.org/jdk/pull/23