RFR: 8259316: [REDO] C1/C2 compiler support for blackholes
Tom Rodriguez
never at openjdk.java.net
Wed Mar 31 15:47:27 UTC 2021
On Thu, 25 Mar 2021 15:40:59 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> The way C1 and C2 see this as synthetic intrinsic is modeled after `vmIntrinsics::_compiledLambdaForm`. Unfortunately, `Method::init_intrinsic_id` does not have access to `CompilerOracle` (which is solvable), and current placement in `ciMethod` constructor guarantees the method is resolved. I wonder if JVMCI would benefit from the direct `shouldBlackholeMethod`, like it already has `shouldInlineMethod`?
>
> I think it would be better in `JVMCIEnv::get_jvmci_method` which is the JVMCI equivalent of `ciMethod::ciMethod`.
It would be best if it was done in ``Method::init_intrinsic_id`` since that's where that field is supposed to be initialized.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2024
More information about the hotspot-dev
mailing list