RFR: 8256476: Assert in vmIntrinsics::flags_for with -XX:+Verbose
Ioi Lam
iklam at openjdk.java.net
Wed Nov 18 03:48:06 UTC 2020
On Tue, 17 Nov 2020 20:20:58 GMT, Claes Redestad <redestad 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.
>>
>> Tests: passed tier-1
>>
>> [1] https://github.com/openjdk/jdk/blame/0570cc10b579580f37b8978f2498459bdd4c870b/src/hotspot/share/classfile/vmIntrinsics.hpp#L1043
>
> Looks good and trivial.
Thanks @cl4es for the review!
-------------
PR: https://git.openjdk.java.net/jdk/pull/1270
More information about the hotspot-runtime-dev
mailing list