dragonwell-releng / issues-repo

0 stars 0 forks source link

[ajdk11][11.0.21.21]Xcomp选项下runtime/SharedArchiveFile/DumpSymbolAndStringTable.java卡住 #5

Closed dzchun closed 10 months ago

dzchun commented 10 months ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/272587?tab=3 【环境准备】

BINARY_URL=http://114.55.64.175:8666//ajdk-backup/11.0.21.21-test-ajdk_ga/OpenJDK11U-jdk_x64_linux_ajdk_2024-01-24-06-38.tar.gz
TEST_IMAGE=http://114.55.64.175:8666//ajdk-backup/11.0.21.21-test-ajdk_ga/OpenJDK11U-testimage_x64_linux_ajdk_2024-01-24-06-38.tar.gz
JDK_REPO=https://codeup.aliyun.com/5f4e0dfe6207a1a8b17fa7cf/compiler-test/jdk11.git
JDK_BRANCH=ajdk_ga-11.0.21.21

wget -O  binary.tar.gz $BINARY_URL
mkdir binary-download 
tar xzvf binary.tar.gz -C binary-download
cd binary-download && export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME && cd -
wget -O test-image.tar.gz $TEST_IMAGE
make test-image
tar xzvf test-image.tar.gz -C test-image
wget -O jtreg.zip http://114.55.64.175:8666/compiler-ci-bucket/tools/jtreg-6.1.1.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone -b $JDK_BRANCH $JDK_REPO jdk-repo

test=runtime/SharedArchiveFile/DumpSymbolAndStringTable.java
args="-Xcomp -Djdk.lang.processReaperUseDefaultStackSize=true"
native='-nativepath:./test-image/hotspot/jtreg/native'

jtreg -w jt-work -nr -v:fail,error  $native $args $test

涉及的用例 javax/xml/parsers/ptests/DocumentBuilderImpl01.java 单独执行不会卡 runtime/SharedArchiveFile/DumpSymbolAndStringTable.java 单独执行必现

对比测试: runtime/SharedArchiveFile/DumpSymbolAndStringTable.java 当前jdk不加选项pass 加上选项:ajdk11 【11.0.20.20】 也会卡住;ajdk11 【11.0.19.19】 pass;dragonwell11执行pass;Temurin11执行pass

ajdk11 【11.0.20.20】 也会卡住 wget http://114.55.64.175:8666/ajdk-backup/11.0.20.20/OpenJDK11U-jdk_x64_linux_ajdk_2023-10-11-02-37.tar.gz

[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-jdk-last/jdk-11.0.20.20+9/bin/java -version
openjdk version "11.0.20.20-AJDK" 2023-10-11
OpenJDK Runtime Environment (Alibaba AJDK) (build 11.0.20.20-AJDK+8-Alibaba)
OpenJDK 64-Bit Server VM (Alibaba AJDK) (build 11.0.20.20-AJDK+8-Alibaba, mixed mode)
[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-jdk-last/jdk-11.0.20.20+9/bin/java -Xinternalversion
OpenJDK 64-Bit Server VM (11.0.20.20-AJDK+8-Alibaba) for linux-amd64 JRE (11.0.20.20-AJDK+8-Alibaba), built on Oct 11 2023 02:42:24 by "" with gcc 7.3.1 20180303 (Red Hat 7.3.1-5)

ajdk11 【11.0.19.19】 pass wget http://114.55.64.175:8666/ajdk-backup/11.0.19.19/OpenJDK11U-jdk_x64_linux_ajdk_2023-06-27-09-52.tar.gz

[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-0952/jdk-11.0.19.19+316/bin/java -version
openjdk version "11.0.19.19-AJDK" 2023-06-27
OpenJDK Runtime Environment (Alibaba AJDK) (build 11.0.19.19-AJDK+315-Alibaba)
OpenJDK 64-Bit Server VM (Alibaba AJDK) (build 11.0.19.19-AJDK+315-Alibaba, mixed mode)
[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-0952/jdk-11.0.19.19+316/bin/java -Xinternalversion
OpenJDK 64-Bit Server VM (11.0.19.19-AJDK+315-Alibaba) for linux-amd64 JRE (11.0.19.19-AJDK+315-Alibaba), built on Jun 27 2023 10:36:53 by "" with gcc 7.3.1 20180303 (Red Hat 7.3.1-5)

dragonwell11pass wget https://dragonwell.oss-cn-shanghai.aliyuncs.com/11.0.21.18.9/Alibaba_Dragonwell_Extended_11.0.21.18.9_x64_linux.tar.gz

[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-dragonwell11-re/dragonwell-11.0.21.18+9-GA/bin/java -version
openjdk version "11.0.21.18" 2023-10-17
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-11.0.21.18+9-GA (build 11.0.21.18+9)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-11.0.21.18+9-GA (build 11.0.21.18+9, mixed mode)
[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-dragonwell11-re/dragonwell-11.0.21.18+9-GA/bin/java -Xinternalversion
OpenJDK 64-Bit Server VM (11.0.21.18+9) for linux-amd64 JRE (11.0.21.18+9), built on Jan  4 2024 12:56:46 by "" with gcc 7.5.0

Temurin11执行pass wget http://114.55.64.175:8666/compiler-ci-bucket/openjdk/jdk-11.0.21-ga/OpenJDK11U-jdk_x64_linux_hotspot_11.0.21_9.tar.gz

[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-Tem/jdk-11.0.21+9/bin/java -version
openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment Temurin-11.0.21+9 (build 11.0.21+9)
OpenJDK 64-Bit Server VM Temurin-11.0.21+9 (build 11.0.21+9, mixed mode)
[root@iZbp12poo0rqis1l9054yhZ jtreg]# bin-Tem/jdk-11.0.21+9/bin/java -Xinternalversion
OpenJDK 64-Bit Server VM (11.0.21+9) for linux-amd64 JRE (11.0.21+9), built on Oct 17 2023 21:44:42 by "" with gcc 7.5.0

【版本信息】

[root@iZbp12poo0rqis1l9054yhZ jtreg]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version;java -Xinternalversion
Linux iZbp12poo0rqis1l9054yhZ 5.10.134-16.1.al8.x86_64 #1 SMP Thu Dec 7 14:11:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
UPDATE_ID="9"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"

              total        used        free      shared  buff/cache   available
Mem:           60Gi       1.1Gi        43Gi       3.0Mi        15Gi        58Gi
Swap:            0B          0B          0B
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              32
On-line CPU(s) list: 0-31
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Alibaba Cloud
CPU family:          6
Model:               106
Model name:          Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name:     pc-i440fx-2.1
Stepping:            6
CPU MHz:             3531.195
BogoMIPS:            5399.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            49152K
NUMA node0 CPU(s):   0-31
openjdk version "11.0.20.20-AJDK" 2024-01-24
OpenJDK Runtime Environment (Alibaba AJDK) (build 11.0.20.20-AJDK+0-Alibaba)
OpenJDK 64-Bit Server VM (Alibaba AJDK) (build 11.0.20.20-AJDK+0-Alibaba, mixed mode)
OpenJDK 64-Bit Server VM (11.0.20.20-AJDK+0-Alibaba) for linux-amd64 JRE (11.0.20.20-AJDK+0-Alibaba), built on Jan 24 2024 06:42:28 by "" with gcc 7.3.1 20180303 (Red Hat 7.3.1-5)
sendaoYan commented 10 months ago

https://aone.alibaba-inc.com/v2/project/355606/bug/54780786# 《[ajdk11][11.0.21.21]-Xcomp选项runtime/SharedArchiveFile/DumpSymbolAndStringTable.java卡死》