RFR: 8348556: Inlining fails earlier for MemorySegment::reinterpret
Alan Bateman
alanb at openjdk.org
Wed Feb 5 14:21:15 UTC 2025
On Wed, 5 Feb 2025 10:17:09 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> This PR proposes to add some `@ForceInline` annotations in the `Module` class in order to assist inlining of FFM var/method handles.
>
> Tested and passed tier1-3
src/java.base/share/classes/java/lang/Module.java line 344:
> 342: }
> 343:
> 344: private String mod(Class<?> currentClass) {
Can you try to find a better name for this method as mod will be read as "modifiers" or "module name" and it's either.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23460#discussion_r1943028162
More information about the core-libs-dev
mailing list