RFR: 8281146: Replace StringCoding.hasNegatives with countPositives [v9]

Andrew Haley aph at openjdk.java.net
Thu Mar 3 14:40:58 UTC 2022


On Thu, 3 Mar 2022 13:31:35 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> > Well, it just didn't build. With the annotation being present, you also need an intrinsic implementation. That's what the error message is saying...
> 
> Doh, I had no idea the presence of `@IntrinsicCandidate` was mandating the VM has an intrinsic implementation these days (Why?! Not much of a _candidate_ if it's required..).

I don't think the intrinsic has to be implemented on every target, but AFAICR it does have to be declared as an intrinsic in HotSpot.

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

PR: https://git.openjdk.java.net/jdk/pull/7231


More information about the shenandoah-dev mailing list