RFR: 8330851: C2: More efficient TypeFunc creation [v5]
Vladimir Ivanov
vlivanov at openjdk.org
Tue Dec 3 03:28:38 UTC 2024
On Fri, 29 Nov 2024 01:15:18 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:
>> Lazy computation of TypeFunc.
>>
>> Testing: Tier1 on Fastdebug & Release VMs (`s390x architecture`)
>
> Amit Kumar has updated the pull request incrementally with one additional commit since the last revision:
>
> test fix
Thanks, Amit.
> Most of them are now moved into OptoRuntime::initialize_types() method. And their *_init method is called from there. The other one are you talking about the class specific ones ? Or something else I need to update in this PR ?
I was specifically pointing at the distinction between `OptoRuntime` entries which are materialized using `C2_STUBS_DO` and those explicitly declared there.
Take a look at `OptoRuntime::_new_instance_Java` (and related code). I believe TypeFunc caching should be handled by the same machinery for C2 runtime stubs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21782#issuecomment-2513469286
More information about the hotspot-compiler-dev
mailing list