RFR: 8265606: Reduce allocations in AdapterHandlerLibrary::get_adapter
Ioi Lam
iklam at openjdk.java.net
Wed Apr 21 16:55:33 UTC 2021
On Tue, 20 Apr 2021 23:32:32 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> Use stack allocated arrays used when looking up and creating adapters. Resource allocate if number of args grows large, which is relatively rare.
Changes requested by iklam (Reviewer).
src/hotspot/share/runtime/sharedRuntime.cpp line 2964:
> 2962: // ResourceObject, so do not put any ResourceMarks in here.
> 2963:
> 2964: BasicType sig_bt[256];
Was this line changed by mistake? The rest of the PR looks good to me.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3595
More information about the hotspot-runtime-dev
mailing list