dragonwell-releng / dragonwell-adoptium

0 stars 0 forks source link

【ajdk8】默认选项下,aarch64上runtime/FDO下2个测试用例运行失败,Test::op1 failed #327

Closed owanqian closed 9 months ago

owanqian commented 9 months ago

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

【环境准备】

wget -O binary.tar.gz http://114.55.64.175:8666/ajdk-backup/8.16.20_fp2-test-ajdk_fp/OpenJDK8U-jdk_aarch64_linux_ajdk_2024-01-12-08-54.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 -nv http://114.55.64.175:8666/compiler-ci-bucket/tools/jtreg5.1-b01.zip -O jtreg.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
git clone -b v8.16.20_fp https://codeup.aliyun.com/5f4e0dfe6207a1a8b17fa7cf/compiler-test/jdk8u.git jdk-repo
test=jdk-repo/hotspot/test/runtime/FDO/TestFDOStableIf.sh
args='-Xmixed'
jtreg -w tmp -nr -v:fail,error $args $test

涉及的测试用例: jdk-repo/hotspot/test/runtime/FDO/TestFDO.sh jdk-repo/hotspot/test/runtime/FDO/TestFDOStableIf.sh

【对比版本】

ajdk8 fp版本 同样问题。

wget http://114.55.64.175:8666/ajdk-backup/8.16.20_fp1/8.16.20_fp1_aarch64.tar.gz

[root@iZbp10m5gxyeaz1iykchhvZ bin]# ./java -version; ./java -Xinternalversion
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Alibaba 8.16.20_fp1) (build 1.8.0_332-b)
OpenJDK 64-Bit Server VM (Alibaba 8.16.20_fp1) (build 25.332-b-internal, mixed mode)
OpenJDK 64-Bit Server VM (25.332-b-internal) for linux-aarch64 JRE (1.8.0_332-b), built on Jul 19 2022 03:20:43 by "root" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)

【用例日志】

FDO: Recorded policy number is 6
FDO: Loaded classloader sun/misc/Launcher$AppClassLoader
FDO: Loaded class Test NULL
FDO: Loaded policy 16 op (Lfoo;III)I
FDO: Loaded policy 4194304 main ([Ljava/lang/String;)V
FDO: Loaded policy 4194304 op (Lfoo;III)I
FDO: Loaded policy 524288 main ([Ljava/lang/String;)V
FDO: Loaded policy 524288 op (Lfoo;III)I
FDO: Loaded policy 4194304 op1 ()V
FDO: Loaded classloader EntryNumber
FDO: Loaded classloader sun/misc/Launcher$AppClassLoader
FDO: Loaded class Test NULL
FDO: Loaded policy 16 op (Lfoo;III)I
FDO: Loaded policy 4194304 main ([Ljava/lang/String;)V
FDO: Loaded policy 4194304 op (Lfoo;III)I
FDO: Loaded policy 524288 main ([Ljava/lang/String;)V
FDO: Loaded policy 524288 op (Lfoo;III)I
FDO: Loaded policy 4194304 op1 ()V
FDO: Loaded classloader EntryNumber
FDO: Loaded classloader sun/misc/Launcher$AppClassLoader
FDO: Loaded class Test NULL
FDO: Loaded policy 16 op (Lfoo;III)I
FDO: Loaded policy 4194304 main ([Ljava/lang/String;)V
FDO: Loaded policy 4194304 op (Lfoo;III)I
FDO: Loaded policy 524288 main ([Ljava/lang/String;)V
FDO: Loaded policy 524288 op (Lfoo;III)I
FDO: Loaded policy 4194304 op1 ()V
     44    1       3       java.lang.String::hashCode (55 bytes)
     45    2       3       java.lang.Math::min (11 bytes)
     46    3       3       java.lang.String::indexOf (70 bytes)
     46    4     n 0       java.lang.System::arraycopy (native)   (static)
     46    5       3       java.lang.String::charAt (29 bytes)
     46    6       3       java.lang.String::length (6 bytes)
     46    7       1       java.lang.ref.Reference::get (5 bytes)
     46    8       3       java.lang.Object::<init> (1 bytes)
     46   10       3       java.lang.String::equals (81 bytes)
     46    9       3       java.lang.AbstractStringBuilder::ensureCapacityInternal (27 bytes)
     46   11       1       java.lang.ThreadLocal::access$400 (5 bytes)
     48   12       3       sun.misc.VM::isBooted (4 bytes)
     49   13       3       java.lang.System::getSecurityManager (4 bytes)
     50   14       3       java.util.Arrays::copyOfRange (63 bytes)
     50   15       3       java.lang.AbstractStringBuilder::append (50 bytes)
     50   16       3       java.lang.String::getChars (62 bytes)
     51   17       3       java.lang.String::<init> (82 bytes)
     51   18       3       Test::op1 (28 bytes)
     51   19       3       Test::op (16 bytes)
     52   20       3       foo::bar (4 bytes)
     52   21       4       Test::op (16 bytes)
     52   22       1       foo::bar (4 bytes)
     52   20       3       foo::bar (4 bytes)   made not entrant
     52   19       3       Test::op (16 bytes)   made not entrant
     53   23 %     3       Test::main @ 45 (102 bytes)
     53   24       3       Test::main (102 bytes)
     54   25 %     4       Test::main @ 45 (102 bytes)
     55   23 %     3       Test::main @ -2 (102 bytes)   made not entrant
     55   26 %     4       Test::main @ 79 (102 bytes)

【版本信息】

[root@iZbp10m5gxyeaz1iykchhvZ jtreg]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version; java -Xinternalversion
Linux iZbp10m5gxyeaz1iykchhvZ 5.10.134-15.an8.aarch64 #1 SMP Thu Jul 20 00:33:45 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
NAME="Anolis OS"
VERSION="8.8"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.8"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.8"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

              total        used        free      shared  buff/cache   available
Mem:           61Gi       701Mi        57Gi       0.0Ki       3.2Gi        59Gi
Swap:            0B          0B          0B
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              32
On-line CPU(s) list: 0-31
Thread(s) per core:  1
Core(s) per socket:  32
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
BIOS Vendor ID:      Alibaba Cloud
Model:               0
Model name:          Neoverse-N2
BIOS Model name:     virt-rhel7.6.0
Stepping:            r0p0
CPU MHz:             3000.000
CPU max MHz:         3000.0000
CPU min MHz:         3000.0000
BogoMIPS:            100.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            1024K
L3 cache:            65536K
NUMA node0 CPU(s):   0-31
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Alibaba 8.16.20_fp1) (build 1.8.0_332-b0)
OpenJDK 64-Bit Server VM (Alibaba 8.16.20_fp1) (build 25.332-b0-internal, mixed mode)
OpenJDK 64-Bit Server VM (25.332-b0-internal) for linux-aarch64 JRE (1.8.0_332-b0), built on Jan 12 2024 08:59:26 by "root" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
sendaoYan commented 9 months ago

@owanqian 这是nightly问题,还是版本测试的问题

sendaoYan commented 9 months ago

fp版本对应的上一次ajdk8也有问题,不再跟踪