-
Bug
-
Resolution: Fixed
-
P3
-
25
-
b03
-
x86_64
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8359425 | 25 | Jatin Bhateja | P3 | Resolved | Fixed | b28 |
As per the latest architecture-instruction-set-extensions-programming-reference manual version 57, upcoming Diamond Rapids server with APX feature has CPU family ID different from prior Xeons.
Recently integrated EEVEX to REX2 demotion support withJDK-8351994 already handles this through a newly defined VM_Version::is_intel_server_family() API, but the existing AVX3Thereholds setting is agnostic to this change, which causes code buffer overflows during arraycopy stubs generation.
SPR2>sde64 -dmr -ptr_raise -- /home/jatinbha/sandboxes/apx-validation/jdk/build/linux-x86_64-server-slowdebug/images/jdk/bin/java -XX:AVX3Threshold=4096
-Dtest.vm.opts= -Dtest.tool.vm.opts= -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/jatinbha/sandboxes/apx-v
alidation/jdk/build/linux-x86_64-server-slowdebug/images/jdk -Dcompile.jdk=/home/jatinbha/sandboxes/apx-validation/jdk/build/linux-x86_64-server-slo
wdebug/images/jdk -Dtest.timeout.factor=4.0 -Dtest.root=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg -Dtest.name=r
untime/StringIntrinsic/StringIndexOfChar.java -Dtest.verbose=Verbose[p=FULL,f=FULL,e=FULL,t=false,m=false] -Dtest.file=/root/jatinbha/sandbo
xes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/StringIndexOfChar.java -Dtest.src=/root/jatinbha/sandboxes/apx-validation/jdk/test
/hotspot/jtreg/runtime/StringIntrinsic -Dtest.src.path=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic
-Dtest.classes=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/JTwork/classes/runtime/StringIntrinsic/StringIndexOf
Char.d -Dtest.class.path=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/JTwork/classes/runtime/StringIntrins
ic/StringIndexOfChar.d -XX:-CompactStrings com.sun.javatest.regtest.agent.MainWrapper /root/jatinbha/sandboxes/apx-validation/jdk/test/hotsp
ot/jtreg/runtime/StringIntrinsic/JTwork/runtime/StringIntrinsic/StringIndexOfChar.d/main.0.jta
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/root/jatinbha/sandboxes/apx-validation/jdk/src/hotspot/share/asm/codeBuffer.hpp:202), pid=2503341, tid=2503344
# assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x00007fc3c21c84e0 <= 0x00007fc3c21cff39 <= 0x00007fc3c21cff38
#
# JRE version: (26.0) (slowdebug build )
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 26-internal-adhoc.root.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x764fb7] CodeSection::set_end(unsigned char*)+0x53
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e" (or dumping to /root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/core.2503341)
#
# An error report file with more information is saved as:
# /root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/hs_err_pid2503341.log
#
Recently integrated EEVEX to REX2 demotion support with
SPR2>sde64 -dmr -ptr_raise -- /home/jatinbha/sandboxes/apx-validation/jdk/build/linux-x86_64-server-slowdebug/images/jdk/bin/java -XX:AVX3Threshold=4096
-Dtest.vm.opts= -Dtest.tool.vm.opts= -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/jatinbha/sandboxes/apx-v
alidation/jdk/build/linux-x86_64-server-slowdebug/images/jdk -Dcompile.jdk=/home/jatinbha/sandboxes/apx-validation/jdk/build/linux-x86_64-server-slo
wdebug/images/jdk -Dtest.timeout.factor=4.0 -Dtest.root=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg -Dtest.name=r
untime/StringIntrinsic/StringIndexOfChar.java -Dtest.verbose=Verbose[p=FULL,f=FULL,e=FULL,t=false,m=false] -Dtest.file=/root/jatinbha/sandbo
xes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/StringIndexOfChar.java -Dtest.src=/root/jatinbha/sandboxes/apx-validation/jdk/test
/hotspot/jtreg/runtime/StringIntrinsic -Dtest.src.path=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic
-Dtest.classes=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/JTwork/classes/runtime/StringIntrinsic/StringIndexOf
Char.d -Dtest.class.path=/root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/JTwork/classes/runtime/StringIntrins
ic/StringIndexOfChar.d -XX:-CompactStrings com.sun.javatest.regtest.agent.MainWrapper /root/jatinbha/sandboxes/apx-validation/jdk/test/hotsp
ot/jtreg/runtime/StringIntrinsic/JTwork/runtime/StringIntrinsic/StringIndexOfChar.d/main.0.jta
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/root/jatinbha/sandboxes/apx-validation/jdk/src/hotspot/share/asm/codeBuffer.hpp:202), pid=2503341, tid=2503344
# assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x00007fc3c21c84e0 <= 0x00007fc3c21cff39 <= 0x00007fc3c21cff38
#
# JRE version: (26.0) (slowdebug build )
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 26-internal-adhoc.root.jdk, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x764fb7] CodeSection::set_end(unsigned char*)+0x53
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e" (or dumping to /root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/core.2503341)
#
# An error report file with more information is saved as:
# /root/jatinbha/sandboxes/apx-validation/jdk/test/hotspot/jtreg/runtime/StringIntrinsic/hs_err_pid2503341.log
#
- backported by
-
JDK-8359425 Incorrect AVX3Threshold results into code buffer overflows on APX targets
-
- Resolved
-
- caused by
-
JDK-8351994 Enable Extended EVEX to REX2/REX demotion when src and dst are the same
-
- Resolved
-
-
JDK-8329030 Intel Advanced Performance Extension support
-
- Open
-
- links to
-
Commit(jdk25) openjdk/jdk/2a329457
-
Commit(master) openjdk/jdk/e7f63ba3
-
Review(jdk25) openjdk/jdk/25796
-
Review(master) openjdk/jdk/25780
(2 links to)