dragonwell-releng / dragonwell-adoptium

0 stars 0 forks source link

【dragonwell11】x64上运行compiler/loopopts/TestRangeCheckPredicatesControl.java出现失败:未复现. #307

Closed owanqian closed 9 months ago

owanqian commented 9 months ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/238020

【环境准备】

wget -O binary.tar.gz https://dragonwell.oss-cn-shanghai.aliyuncs.com/test-57/OpenJDK11U-jdk_x64_linux_dragonwell_2023-10-19-06-15.tar.gz
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 https://dragonwell.oss-cn-shanghai.aliyuncs.com/test-57/OpenJDK11U-testimage_x64_linux_dragonwell_2023-10-19-06-15.tar.gz -O test-image.tar.gz
make test-image
tar xzvf test-image.tar.gz -C test-image
wget -O jtreg.zip https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/jdk/tools/jtreg-6.1.1.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone https://github.com/dragonwell-project/dragonwell11.git jdk-repo -b wip_dragonwell_standard_merge_branch
native=-nativepath:./test-image/hotspot/jtreg/native
args='-Xmixed -ea -esa'
test=jdk-repo/test/hotspot/jtreg/compiler/loopopts/TestRangeCheckPredicatesControl.java
dir="jt-work" ; rm -rf $dir ; mkdir -p $dir ; time seq 4000 | xargs -i -n 1 -P 1  bash -c "jtreg -w tmp -nr -v:fail,error $native  $args $test &> $dir/test-{}.log ; grep 'Test results: passed: 1' -L $dir/test-{}.log"

【对比测试】

dragonwell11 release版本同样错误. wget https://dragonwell.oss-cn-shanghai.aliyuncs.com/11.0.20.16.8/Alibaba_Dragonwell_Standard_11.0.20.16.8_x64_linux.tar.gz -O binary.tar.gz

[root@VM20190228-137 d11-release]# java -version ; java -Xinternalversion
openjdk version "11.0.20.16" 2023-07-18
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-11.0.20.16+8-GA (build 11.0.20.16+8)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-11.0.20.16+8-GA (build 11.0.20.16+8, mixed mode)
OpenJDK 64-Bit Server VM (11.0.20.16+8) for linux-amd64 JRE (11.0.20.16+8), built on Aug  8 2023 08:04:07 by "" with gcc 7.5.0

temurin11 同样错误. https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.21%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.21_9.tar.gz

[root@VM20190228-137 t11]# java -version; java -Xinternalversion
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)
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

【用例日志】

STDOUT:
STDERR:

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "MainThread"
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

【版本信息】

[root@VM20210305-10 dw11]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version; java -Xinternalversion
Linux VM20210305-10 4.19.91-26.an8.aarch64 #1 SMP Tue May 24 13:14:10 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

              total        used        free      shared  buff/cache   available
Mem:           15Gi       506Mi       261Mi       0.0Ki        14Gi        14Gi
Swap:            0B          0B          0B
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per cluster: 4
Socket(s):           2
Cluster(s):          1
NUMA node(s):        1
Vendor ID:           HiSilicon
BIOS Vendor ID:      Alibaba Cloud
Model:               0
Model name:          Kunpeng-920
BIOS Model name:     virt-rhel7.6.0
Stepping:            0x1
BogoMIPS:            200.00
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
openjdk version "11.0.21.16" 2023-10-17
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-11.0.20.16+8-GA (build 11.0.21.16+8)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-11.0.20.16+8-GA (build 11.0.21.16+8, mixed mode)
OpenJDK 64-Bit Server VM (11.0.21.16+8) for linux-aarch64 JRE (11.0.21.16+8), built on Oct 19 2023 06:21:50 by "" with gcc 7.5.0
owanqian commented 9 months ago

后续关注,复现再重开