RFR: 8330851: C2: More efficient TypeFunc creation [v5]

Amit Kumar amitkumar at openjdk.org
Thu Jan 9 05:45:09 UTC 2025


On Tue, 7 Jan 2025 20:39:32 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> I still think it's cleaner to keep type factories local (including BarrierSetC2::clone_type()). GC interface could provide an API point to call from Type::Initialize_shared() to trigger GC-specific initialization. 


I can follow the same approach I followed for `CallNode` and `ArrayCopyNode` structure, if that would be fine ? I also feel that same change can be done for `CallNode` and `ArrayCopyNode` as they also need their own initializer. I am fine with both, fixing it here or fixing with separate RFE.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21782#discussion_r1906535686


More information about the hotspot-compiler-dev mailing list