RFR: 8347396: Efficient TypeFunc creations [v5]

Kim Barrett kbarrett at openjdk.org
Sun Jan 25 15:50:59 UTC 2026


On Tue, 20 Jan 2026 07:33:39 GMT, Harshit470250 <duke at openjdk.org> wrote:

>> This PR do similar changes done by [JDK-8330851](https://bugs.openjdk.org/browse/JDK-8330851) on the GC TypeFunc creation as suggested by [JDK-8347396](https://bugs.openjdk.org/browse/JDK-8347396). As discussed in [https://github.com/openjdk/jdk/pull/21782#discussion_r1906535686,](https://github.com/openjdk/jdk/pull/21782#discussion_r1906535686) I have put guard on the shenandoah gc specific part of the code.
>
> Harshit470250 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   move include shenandoah to bottom

src/hotspot/share/opto/runtime.hpp line 235:

> 233:   static void monitor_notify_C(oopDesc* obj, JavaThread* current);
> 234:   static void monitor_notifyAll_C(oopDesc* obj, JavaThread* current);
> 235:   static const TypeFunc* _clone_type_Type;

hotspot generally avoids public data members other than in simple data structs.

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

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


More information about the hotspot-dev mailing list