RFR: 8348556: Inlining fails earlier for MemorySegment::reinterpret [v7]
Per Minborg
pminborg at openjdk.org
Mon Apr 14 15:31:12 UTC 2025
On Tue, 8 Apr 2025 12:24:41 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.
>>
>> There are also some changes in other classes which, if implemented, can take us three additional levels of inlining. I drew a line there. There is a tradeoff with adding `@ForceInline` and just trying to get as deep as possible for a specific use case is probably not the best idea.
>>
>> Updating the `j.l.Object` constructor is crucial for the higher depths.
>>
>> Tested and passed tier1-3
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Reintroduce Object changes
@iwanowww : Do you have any comments on this PR? Should we just close it?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23460#issuecomment-2802091492
More information about the hotspot-compiler-dev
mailing list