RFR: 8330851: C2: More efficient TypeFunc creation
Vladimir Ivanov
vlivanov at openjdk.org
Sat Nov 16 02:00:52 UTC 2024
On Wed, 30 Oct 2024 06:43:23 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:
> Lazy computation of TypeFunc.
>
> Testing: Tier1 on Fastdebug & Release VMs (`s390x architecture`)
src/hotspot/share/opto/type.cpp line 716:
> 714:
> 715: LockNode::lock_type_init();
> 716: OptoRuntime::new_instance_Type_init();
I suggest to move the initialization code into `OptoRuntime`. As a benefit, you'll be able to directly access fields from there, so some trivial `init` methods won't be needed anymore.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21782#discussion_r1844790153
More information about the hotspot-compiler-dev
mailing list