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.
- relates to
-
JDK-8301346 Remove dead emit_entry_barrier_stub definition
- Resolved
-
JDK-8306706 Support out-of-line code generation for MachNodes
- Resolved
-
JDK-8308651 [Lilliput/JDK17] Cherry-pick PPC parts of 8297036: Generalize C2 stub mechanism
- Resolved