RFR: 8347396: Efficient TypeFunc creations [v5]

Harshit470250 duke at openjdk.org
Tue Jan 27 10:02:05 UTC 2026


On Sun, 25 Jan 2026 15:47:58 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> 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.

clone_type() is not a member function of OptoRuntime, Should I define a getter function?

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

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


More information about the hotspot-dev mailing list