RFR: 8330851: C2: More efficient TypeFunc creation [v2]
Vladimir Ivanov
vlivanov at openjdk.org
Tue Dec 3 03:41:39 UTC 2024
On Thu, 28 Nov 2024 13:18:01 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:
> Okay I have increased the coverage. But still some of them I left alone as they are class-specific, they were accepting argument and using that in the Type creation.
Indeed. It doesn't work for `OptoRuntime::Math_Vector_Vector_Type()`, but `alloc_type(const Type* t)` you mentioned can be specialized: it is only called as`AllocateNode::alloc_type(Type::TOP)` and `AllocateArrayNode::alloc_type(TypeInt::INT)`.
FTR I'm perfectly fine with leaving it for a future cleanup.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21782#issuecomment-2513479968
More information about the hotspot-compiler-dev
mailing list