RFR: 8287794: Reverse*VNode::Identity problem [v4]
Jatin Bhateja
jbhateja at openjdk.org
Thu Jul 28 08:18:52 UTC 2022
On Thu, 28 Jul 2022 07:20:51 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> I am not clear, if UseSVE=0 then why does "sve" feature getting populated during VM initialization?
>> Entire handling of applyIfCPUFeature* is based on white box CPU feature API which queries the feature list populated during VM initialization, we are not directly queries the target features seen in /proc/cpuinfo.
>
> Yeah, that's the difference from X86. `UseSVE` is a vm flag which lets user to choose whether use the sve feature or not. And the sve cpu feature is still there that will not been influenced by the VM flag.
I think we should not be enabling sve feature if user explicitly passes VM flag UseSVE = 0, may be it should be fixed separately.
Option 1 seems like a good interim solution to me, will update the patch.
-------------
PR: https://git.openjdk.org/jdk/pull/9623
More information about the hotspot-compiler-dev
mailing list