RFR: 8256476: Assert in vmIntrinsics::flags_for with -XX:+Verbose

Claes Redestad redestad at openjdk.java.net
Tue Nov 17 20:24:03 UTC 2020


On Tue, 17 Nov 2020 19:19:55 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Please review this trivial fix.
> 
> The bug was introduced by [JDK-8254855](https://bugs.openjdk.java.net/browse/JDK-8254855). `log2_FLAG_LIMIT` [1] is changed from 4 to 3. So the hard-coded value 15 in `vmIntrinsics::flags_for()` should be changed to 7.
> 
> [1] https://github.com/openjdk/jdk/blame/0570cc10b579580f37b8978f2498459bdd4c870b/src/hotspot/share/classfile/vmIntrinsics.hpp#L1043

Looks good and trivial.

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

Marked as reviewed by redestad (Reviewer).

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


More information about the hotspot-runtime-dev mailing list