Integrated: 8297036: Generalize C2 stub mechanism

Roman Kennke rkennke at openjdk.org
Fri Dec 9 14:56:01 UTC 2022


On Wed, 16 Nov 2022 15:03:07 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)

This pull request has now been integrated.

Changeset: b30b464d
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b30b464d054716bbc3d4d70633b740b227b8775d
Stats:     908 lines in 21 files changed: 435 ins; 453 del; 20 mod

8297036: Generalize C2 stub mechanism

Co-authored-by: Aleksey Shipilev <shade at openjdk.org>
Co-authored-by: Xiaolin Zheng <xlinzheng at openjdk.org>
Reviewed-by: eosterlund, kvn, fyang

-------------

PR: https://git.openjdk.org/jdk/pull/11188


More information about the hotspot-compiler-dev mailing list