-
Bug
-
Resolution: Unresolved
-
P4
-
11, 17, 21, 25
-
+ uname -a
Linux CompilerTest-aarch64-6 5.10.134-16.1.al8.aarch64 #1 SMP Thu Dec 7 22:04:51 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
+ cat /etc/os-release
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/"+ free -h
total used free shared buff/cache available
Mem: 245Gi 2.4Gi 150Gi 0.0Ki 92Gi 241Gi
Swap: 0B 0B 0B
+ lscpu
+ head -n 25
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 1
Core(s) per socket: 64
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
Model: 0
Model name: Neoverse-N2
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-63
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
+ ldd --version
ldd (GNU libc) 2.32
Copyright (C) 2020 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 "25-internal" 2025-09-16
OpenJDK Runtime Environment (fastdebug build 25-internal-afe54341)
OpenJDK 64-Bit Server VM (fastdebug build 25-internal-afe54341, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (fastdebug 25-internal-afe54341) for linux-aarch64 JRE (25-internal-afe54341), built on 2025-01-08T12:30:38Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git log -n 1
+ head -n 1
commit afe543414f58a04832d4f07dea88881d64954a0b+ uname -a Linux CompilerTest-aarch64-6 5.10.134-16.1.al8.aarch64 #1 SMP Thu Dec 7 22:04:51 CST 2023 aarch64 aarch64 aarch64 GNU/Linux + cat /etc/os-release 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/" + free -h total used free shared buff/cache available Mem: 245Gi 2.4Gi 150Gi 0.0Ki 92Gi 241Gi Swap: 0B 0B 0B + lscpu + head -n 25 Architecture: aarch64 Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 1 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 0 Model name: Neoverse-N2 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-63 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 + ldd --version ldd (GNU libc) 2.32 Copyright (C) 2020 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 "25-internal" 2025-09-16 OpenJDK Runtime Environment (fastdebug build 25-internal-afe54341) OpenJDK 64-Bit Server VM (fastdebug build 25-internal-afe54341, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (fastdebug 25-internal-afe54341) for linux-aarch64 JRE (25-internal-afe54341), built on 2025-01-08T12:30:38Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git log -n 1 + head -n 1 commit afe543414f58a04832d4f07dea88881d64954a0b
-
aarch64
-
linux
containers/docker/TestJFREvents.java
containers/docker/TestMemoryWithCgroupV1.java
containers/docker/TestMemoryAwareness.java
jdk/internal/platform/docker/TestDockerMemoryMetrics.java
Test output snippet:
========== NEW TEST CASE: Memory: --memory = 200m
[COMMAND]
docker run --tty=true --rm --volume /home/yansendao/git/jdk/tmp/classes/containers/docker/TestJFREvents.d:/test-classes/ --memory=200m jdk-internal:test-containers-docker-TestJFREvents-jfr-events /jdk/bin/java -XX:+ErrorFileToStderr -cp /test-classes/ -Xcomp JfrReporter jdk.PhysicalMemory
[2025-01-08T12:47:31.397627612Z] Gathering output for process 2204620
[ELAPSED: 31659 ms]
[STDERR]
[STDOUT]
===== EventType: jdk.PhysicalMemory
Full child process STDOUT was saved to docker-stdout-2204620.log
[2025-01-08T12:48:03.056197543Z] Waiting for completion for process 2204620
[2025-01-08T12:48:03.056301080Z] Waiting for completion finished for process 2204620
[COMMAND]
docker rmi --force jdk-internal:test-containers-docker-TestJFREvents-jfr-events
[2025-01-08T12:48:03.070755352Z] Gathering output for process 2204762
[ELAPSED: 14 ms]
[STDERR]
[STDOUT]
Untagged: jdk-internal:test-containers-docker-TestJFREvents-jfr-events
Deleted: sha256:8b5e385615aa9ce5d50ffe0a05976e70c7e6a28ffbe6b895b3f6bc092aa373ad
Full child process STDOUT was saved to docker-stdout-2204762.log
STDERR:
stdout: [===== EventType: jdk.PhysicalMemory
];
stderr: []
exitValue = 137
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [137]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at TestJFREvents.testMemory(TestJFREvents.java:224)
at TestJFREvents.main(TestJFREvents.java:78)