Guidance regarding reporting a bug probably related with VectorAPI
Aurelian Tutuianu
padreati at yahoo.com
Sat Dec 2 18:35:59 UTC 2023
Hi Sandhya, Paul,
Thank you for looking into it and fixing. You do a massive job for us, humans.
Best regards,Aurelian
On Saturday, December 2, 2023 at 04:37:55 AM GMT+2, Viswanathan, Sandhya <sandhya.viswanathan at intel.com> wrote:
Hi Aurelian,
Thank a lot for bringing this to our notice. The following patch to the JVM source should fix the problem you are having:
------
diff --git a/src/hotspot/cpu/x86/assembler_x86.hpp b/src/hotspot/cpu/x86/assembler_x86.hpp
index c6083d844aa..6086a72c7a5 100644
--- a/src/hotspot/cpu/x86/assembler_x86.hpp
+++ b/src/hotspot/cpu/x86/assembler_x86.hpp
@@ -316,7 +316,7 @@ class Address {
}
bool xmmindex_needs_rex() const {
- return _xmmindex->is_valid() && _xmmindex->encoding() >= 8;
+ return _xmmindex->is_valid() && ((_xmmindex->encoding() & 8) == 8);
}
relocInfo::relocType reloc() const { return _rspec.type(); }
-----
I have filed a bug report (https://bugs.openjdk.org/browse/JDK-8321215). I plan to send a pull request next week for review.
Best Regards,
Sandhya
-----Original Message-----
From: Paul Sandoz <paul.sandoz at oracle.com>
Sent: Thursday, November 30, 2023 3:26 PM
To: Aurelian Tutuianu <padreati at yahoo.com>
Cc: panama-dev at openjdk.org; Bhateja, Jatin <jatin.bhateja at intel.com>; Viswanathan, Sandhya <sandhya.viswanathan at intel.com>
Subject: Re: Guidance regarding reporting a bug probably related with VectorAPI
Thanks. Based on the CPU flags I think we need to attempt to reproduce on an AVX-512 system.
Paul.
> On Nov 30, 2023, at 3:12 PM, Aurelian Tutuianu <padreati at yahoo.com> wrote:
>
> Hi Paul,
>
> Thank you for looking into it. This is what is shown when I run the code on my machine:
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f89e053bcac, pid=398556, tid=398558 # #
> JRE version: OpenJDK Runtime Environment (21.0.1+12) (build
> 21.0.1+12-29) # Java VM: OpenJDK 64-Bit Server VM (21.0.1+12-29, mixed
> mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame:
> # J 1119 c2 bugs.VectorTest.vdotVectorizedFailure([DII[DIIII)D
> rapaio.experiment at 6.0.0 (273 bytes) @ 0x00007f89e053bcac
> [0x00007f89e053b980+0x000000000000032c]
> #
> # No core dump will be written. Core dumps have been disabled. To
> enable core dumping, try "ulimit -c unlimited" before starting Java
> again # # An error report file with more information is saved as:
> # /home/ati/work/rapaio/hs_err_pid398556.log
> [4.582s][warning][os] Loading hsdis library failed # # If you would
> like to submit a bug report, please visit:
> # https://bugreport.java.com/bugreport/crash.jsp
> #
>
> The Hotspot error file can be found at the following link:
> https://gist.github.com/padreati/a0170291023640c013a9b9733478245b
> I didn't test it with other JVM versions than 21.0.1 and the Ubuntu machine that I have.
>
> Thank you again,
> Aurelian
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20231202/a48fde42/attachment-0001.htm>
More information about the panama-dev
mailing list