RFR: 8303415: Add VM_Version::is_intrinsic_supported(id)

Vladimir Kozlov kvn at openjdk.org
Thu Mar 9 05:24:07 UTC 2023


On Thu, 9 Mar 2023 05:03:27 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> How many callers are there? From an API design perspective this method is either only for virtual intrinsics, so no parameter needed, or it is for general intrinsics and the parameter indicates what type.
>
> This is the only place where it is called.

Actually I found that I don't need `is_virtual_intrinsic_supported()` because the same information provides existing [vmIntrinsics::does_virtual_dispatch(id)](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/classfile/vmIntrinsics.cpp#L173)

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

PR: https://git.openjdk.org/jdk/pull/12858


More information about the hotspot-compiler-dev mailing list