-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: 11, 27
-
Component/s: hotspot
-
Environment:
+ uname -a
Linux zhangfei 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
+ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
+ free -h
total used free shared buff/cache available
Mem: 751Gi 511Gi 231Gi 15Mi 8.2Gi 236Gi
Swap: 0B 0B 0B
+ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 224
On-line CPU(s) list: 0-223
Vendor ID: HygonGenuine
Model name: Hygon C86-4G (OPN:7493)
CPU family: 24
Model: 4
Thread(s) per core: 2
Core(s) per socket: 28
Socket(s): 4
Stepping: 1
Frequency boost: enabled
CPU max MHz: 2900.0000
CPU min MHz: 1600.0000
BogoMIPS: 5800.37
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm
aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoe
xt perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveer
ptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip overflow_recov succor smca sme sev sev_es
Virtualization features:
Virtualization: AMD-V
Caches (sum of all):
L1d: 3.5 MiB (112 instances)
L1i: 3.5 MiB (112 instances)
L2: 56 MiB (112 instances)
L3: 512 MiB (32 instances)
NUMA:
NUMA node(s): 8
NUMA node0 CPU(s): 0-13,112-125
NUMA node1 CPU(s): 14-27,126-139
NUMA node2 CPU(s): 28-41,140-153
NUMA node3 CPU(s): 42-55,154-167
NUMA node4 CPU(s): 56-69,168-181
NUMA node5 CPU(s): 70-83,182-195
NUMA node6 CPU(s): 84-97,196-209
NUMA node7 CPU(s): 98-111,210-223
Vulnerabilities:
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling
Srbds: Not affected
Tsx async abort: Not affected
+ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.11) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ java -version
openjdk version "26" 2026-09-15
OpenJDK Runtime Environment HJDK-0 (build 26+-5f083aba)
OpenJDK 64-Bit Server VM HJDK-0 (build 26+-5f083aba, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (26+-5f083aba) for linux-amd64 JRE (26+-5f083aba), built on 2025-12-07T14:30:37Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ git remote -v
origin git@github.com:sendaoYan/jdk-ysd.git (fetch)
origin git@github.com:sendaoYan/jdk-ysd.git (push)
upstream git@github.com:openjdk/jdk.git (fetch)
upstream git@github.com:openjdk/jdk.git (push)
+ git log -n 1
+ head -n 1
commit b6b337926d5f13ee2bca12ea94530ea59911ff2f
+ hostname -I
10.59.42.94 172.17.0.1+ uname -a Linux zhangfei 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux + cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.5 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.5 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy + free -h total used free shared buff/cache available Mem: 751Gi 511Gi 231Gi 15Mi 8.2Gi 236Gi Swap: 0B 0B 0B + lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 224 On-line CPU(s) list: 0-223 Vendor ID: HygonGenuine Model name: Hygon C86-4G (OPN:7493) CPU family: 24 Model: 4 Thread(s) per core: 2 Core(s) per socket: 28 Socket(s): 4 Stepping: 1 Frequency boost: enabled CPU max MHz: 2900.0000 CPU min MHz: 1600.0000 BogoMIPS: 5800.37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoe xt perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveer ptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip overflow_recov succor smca sme sev sev_es Virtualization features: Virtualization: AMD-V Caches (sum of all): L1d: 3.5 MiB (112 instances) L1i: 3.5 MiB (112 instances) L2: 56 MiB (112 instances) L3: 512 MiB (32 instances) NUMA: NUMA node(s): 8 NUMA node0 CPU(s): 0-13,112-125 NUMA node1 CPU(s): 14-27,126-139 NUMA node2 CPU(s): 28-41,140-153 NUMA node3 CPU(s): 42-55,154-167 NUMA node4 CPU(s): 56-69,168-181 NUMA node5 CPU(s): 70-83,182-195 NUMA node6 CPU(s): 84-97,196-209 NUMA node7 CPU(s): 98-111,210-223 Vulnerabilities: Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling Srbds: Not affected Tsx async abort: Not affected + ldd --version ldd (Ubuntu GLIBC 2.35-0ubuntu3.11) 2.35 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. + java -version openjdk version "26" 2026-09-15 OpenJDK Runtime Environment HJDK-0 (build 26+-5f083aba) OpenJDK 64-Bit Server VM HJDK-0 (build 26+-5f083aba, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (26+-5f083aba) for linux-amd64 JRE (26+-5f083aba), built on 2025-12-07T14:30:37Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + git remote -v origin git@github.com:sendaoYan/jdk-ysd.git (fetch) origin git@github.com:sendaoYan/jdk-ysd.git (push) upstream git@github.com:openjdk/jdk.git (fetch) upstream git@github.com:openjdk/jdk.git (push) + git log -n 1 + head -n 1 commit b6b337926d5f13ee2bca12ea94530ea59911ff2f + hostname -I 10.59.42.94 172.17.0.1
-
x86_64
-
linux
bash configure --with-toolchain-type=clang && make images test-image
Make failure log snippet:
In file included from /home/yansendao/git/jdk-ysd/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA04/ma04t002/libma04t002a.cpp:33:
/home/yansendao/git/jdk-ysd/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA04/ma04t002/ma04t002a.cpp:129:99: error: variable 'dummy' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer]
129 | if (!NSK_JVMTI_VERIFY(jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, heap_object_callback, &dummy))) {
| ^~~~~
1 error generated.
clang version:
> clang -v
clang version 23.0.0git (/home/yansendao/git/llvm-project/clang 48ce7bb0388e26eeae149ee23db2308dcc1e3c4a)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/yansendao/software/llvm-binary-23/bin
Build config: +assertions
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Candidate multilib: .;@m64
Selected multilib: .;@m64
- links to
-
Review(master)
openjdk/jdk/29247