RFR: 8347396: Efficient TypeFunc creations [v5]

Harshit470250 duke at openjdk.org
Fri Jan 30 09:58:52 UTC 2026


On Fri, 30 Jan 2026 03:58:23 GMT, Dean Long <dlong at openjdk.org> wrote:

>> clone_type() is not a member function of OptoRuntime, Should I define a getter function?
>
> I suggest you do it the same as the ShenandoahBarrierSetC2 types.  That would mean moving _clone_type_Type to BarrierSetC2 and setting it in make_clone_type(), just like you did for all ShenandoahBarrierSetC2::make_*_Type().

ShenandoahBarrierSetC2 types are also public data members, they can also be made private.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27279#discussion_r2745489991


More information about the hotspot-dev mailing list