RFR: 8297036: Generalize C2 stub mechanism [v10]
Martin Doerr
mdoerr at openjdk.org
Tue Dec 6 16:50:10 UTC 2022
On Tue, 6 Dec 2022 11:41:12 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
>> Currently, we have two implementations of out-of-line stubs in C2, one for safepoint poll stubs (C2SafepointPollStubTable in output.hpp) and another for nmmethod entry barriers (C2EntryBarrierStubTable in output.hpp). I will need a few more for Lilliput: One for checking lock-stack size in method prologue, one for handling lock failures (both for fast-locking), and another one for load-klass slow-path. It would be good to generalize the mechanism and consolidate the existing uses on the new general mechanism.
>>
>> Testing:
>> - [x] tier1 (x86_64, x86_32, aarch64)
>> - [x] tier2 (x86_64, x86_32, aarch64)
>> - [x] tier3 (x86_64, x86_32, aarch64)
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
>
> Update copyright notices
Thanks for taking care of all platforms.
src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp line 34:
> 32:
> 33: int C2SafepointPollStub::max_size() const {
> 34: return 0;
Max size is 56.
-------------
PR: https://git.openjdk.org/jdk/pull/11188
More information about the hotspot-compiler-dev
mailing list