RFR: 8350334: Add final keywords to FFM methods

Chen Liang liach at openjdk.org
Wed Feb 19 15:54:52 UTC 2025


On Wed, 19 Feb 2025 14:23:04 GMT, Per Minborg <pminborg at openjdk.org> 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 as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23696#pullrequestreview-2627259944


More information about the core-libs-dev mailing list