RFR: 8373697: AArch64: Remove deoptimization stub code for nmethods with small stack frames
Ruben
duke at openjdk.org
Thu Dec 18 11:38:50 UTC 2025
On Wed, 17 Dec 2025 02:23:43 GMT, Dean Long <dlong at openjdk.org> wrote:
>> Removal of deoptimization stub codes improves density of compiled code.
>> It is possible at least for methods with relatively small stack frames.
>
> src/hotspot/share/opto/output.cpp line 1794:
>
>> 1792: }
>> 1793: // Emit the deopt handler code if needed.
>> 1794: if (AlwaysEmitDeoptStubCode
>
> I count 5 times this same expression is repeated. Maybe it would make sense to move it to an inlined helper function.
I will add a helper function for this.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28857#discussion_r2630696744
More information about the hotspot-dev
mailing list