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

David Holmes dholmes at openjdk.org
Thu Mar 9 02:37:08 UTC 2023


On Wed, 8 Mar 2023 18:56:55 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> We still have `is_intrinsic_supported()` declared at line 64. New `is_virtual_intrinsic_supported()` is added to handle only virtual intrinsics`_hashCode` and `_clone`.  I simply moved these intrinsics handling into separate method because it is used only by C2 in `library_call.cpp`.
>
> Okay, got it. Thanks for the explanation.

Okay but then why do we still need the parameter `is_virtual`?

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

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


More information about the hotspot-compiler-dev mailing list