On Thu, 18 Jun 2026 17:14:06 GMT, Ashutosh Mehra <[email protected]> wrote:

>> This patch is reorganizing the code to split `get_processor_features()` into 
>> multiple helper functions. Details are present in the issue 
>> https://bugs.openjdk.org/browse/JDK-8380448.
>> It should not change the behavior of any VM flag, except 
>> `UseVectorizedHashCodeIntrinsic`. The earlier code always set 
>> `UseVectorizedHashCodeIntrinsic` to `true` if UseAVX >= 2. That means 
>> specifying `-XX:-UseVectorizedHashCodeIntrinsic` on command line wouldn't 
>> disable use of this intrinsic. This looks like a bug and has been fixed in 
>> this patch.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Ashutosh Mehra has updated the pull request with a new target base due to a 
> merge or a rebase. The pull request now contains 11 commits:
> 
>  - Add code missed out when merging master
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Merge branch 'master' into vm_version_x86-reorg
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Address review comment
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Simplify setting of IntelJccErratumMitigation flag
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Fix setting of CopyAVX3Threshold
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Fix another mistake
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Fix build failure
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Replace COMPILER2_OR_JVMCI with COMPILER2
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Merge branch 'master' into vm_version_x86-reorg
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - Minor updates
>    
>    Signed-off-by: Ashutosh Mehra <[email protected]>
>  - ... and 1 more: https://git.openjdk.org/jdk/compare/39d2d165...8821f232

Several `compiler/c2/irTests/` tests failed on macOS-aarch64 only:


compiler.lib.ir_framework.shared.TestFrameworkException: Internal Test 
Framework exception - please file a bug:
Error while fetching Test VM Future
        at 
compiler.lib.ir_framework.shared.TestFrameworkSocket.testVmMessages(TestFrameworkSocket.java:186)
        at 
compiler.lib.ir_framework.shared.TestFrameworkSocket.testVmData(TestFrameworkSocket.java:176)
        at 
compiler.lib.ir_framework.driver.TestVMProcess.<init>(TestVMProcess.java:78)
        at 
compiler.lib.ir_framework.TestFramework.runTestVM(TestFramework.java:880)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:840)
        at compiler.lib.ir_framework.TestFramework.start(TestFramework.java:432)
        at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:235)
        at compiler.lib.ir_framework.TestFramework.run(TestFramework.java:224)
        at 
compiler.c2.irTests.URShiftINodeIdealizationTests.main(URShiftINodeIdealizationTests.java:38)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:583)
        at 
com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
        at java.base/java.lang.Thread.run(Thread.java:1527)
Caused by: java.lang.NullPointerException: Cannot invoke 
"java.util.concurrent.Future.get()" because "this.javaFuture" is null
        at 
compiler.lib.ir_framework.shared.TestFrameworkSocket.testVmMessages(TestFrameworkSocket.java:182)
        ... 12 more

It could be https://bugs.openjdk.org/browse/JDK-8381564

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

PR Comment: https://git.openjdk.org/jdk/pull/31301#issuecomment-4754101363
PR Comment: https://git.openjdk.org/jdk/pull/31301#issuecomment-4754109616

Reply via email to