[jdk25u-dev] RFR: 8364756: JFR: Improve slow tests
Roland Mesde
duke at openjdk.org
Fri Feb 13 19:37:05 UTC 2026
Backporting JDK-8364756: JFR: Improve slow tests.
This PR reduces JFR test execution time by optimizing the slowest tests for both CPU usage and duration.
For parity with Oracle JDK.
Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
make test TEST=test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java
make test TEST=test/jdk/jdk/jfr/api/consumer/streaming/TestStartMultiChunk.java
make test TEST=test/jdk/jdk/jfr/event/runtime/StressJavaMonitorEvents.java
make test TEST=test/jdk/jdk/jfr/jmx/streaming/TestMaxSize.java
make test TEST=test/jdk/jdk/jfr/jmx/streaming/TestRemoteDump.java
make test TEST=test/jdk/jdk/jfr/jvm/TestWaste.java
make test TEST=test/jdk/jdk/jfr/startupargs/TestMultipleStartupRecordings.java
Results attached:
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25299475/macos-aarch64-specific-test.log)
[macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25299476/macos-aarch64-specific-2-test.log)
[macos-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25299478/macos-aarch64-specific-3-test.log)
[macos-aarch64-specific-4-test.log](https://github.com/user-attachments/files/25299479/macos-aarch64-specific-4-test.log)
[macos-aarch64-specific-5-test.log](https://github.com/user-attachments/files/25299480/macos-aarch64-specific-5-test.log)
[macos-aarch64-specific-6-test.log](https://github.com/user-attachments/files/25299481/macos-aarch64-specific-6-test.log)
[macos-aarch64-specific-7-test.log](https://github.com/user-attachments/files/25299482/macos-aarch64-specific-7-test.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25299612/linux-aarch64-specific-test.log)
[linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25299613/linux-aarch64-specific-2-test.log)
[linux-aarch64-specific-3-test.log](https://github.com/user-attachments/files/25299614/linux-aarch64-specific-3-test.log)
[linux-aarch64-specific-4-test.log](https://github.com/user-attachments/files/25299615/linux-aarch64-specific-4-test.log)
[linux-aarch64-specific-5-test.log](https://github.com/user-attachments/files/25299616/linux-aarch64-specific-5-test.log)
[linux-aarch64-specific-6-test.log](https://github.com/user-attachments/files/25299617/linux-aarch64-specific-6-test.log)
[linux-aarch64-specific-7-test.log](https://github.com/user-attachments/files/25299618/linux-aarch64-specific-7-test.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/25299625/linux-x64-specific-test.log)
[linux-x64-specific-2-test.log](https://github.com/user-attachments/files/25299626/linux-x64-specific-2-test.log)
[linux-x64-specific-3-test.log](https://github.com/user-attachments/files/25299627/linux-x64-specific-3-test.log)
[linux-x64-specific-4-test.log](https://github.com/user-attachments/files/25299628/linux-x64-specific-4-test.log)
[linux-x64-specific-5-test.log](https://github.com/user-attachments/files/25299629/linux-x64-specific-5-test.log)
[linux-x64-specific-6-test.log](https://github.com/user-attachments/files/25299630/linux-x64-specific-6-test.log)
[linux-x64-specific-7-test.log](https://github.com/user-attachments/files/25299631/linux-x64-specific-7-test.log)
[windows-x64-specific-test.log](https://github.com/user-attachments/files/25299673/windows-x64-specific-test.log)
[windows-x64-specific-2-test.log](https://github.com/user-attachments/files/25299674/windows-x64-specific-2-test.log)
[windows-x64-specific-3-test.log](https://github.com/user-attachments/files/25299675/windows-x64-specific-3-test.log)
[windows-x64-specific-4-test.log](https://github.com/user-attachments/files/25299676/windows-x64-specific-4-test.log)
[windows-x64-specific-5-test.log](https://github.com/user-attachments/files/25299677/windows-x64-specific-5-test.log)
[windows-x64-specific-6-test.log](https://github.com/user-attachments/files/25299678/windows-x64-specific-6-test.log)
[windows-x64-specific-7-test.log](https://github.com/user-attachments/files/25299679/windows-x64-specific-7-test.log)
-------------
Commit messages:
- Backport 87d734012e3130501bfd37b23cee7f5e0a3a476f
Changes: https://git.openjdk.org/jdk25u-dev/pull/263/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=263&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8364756
Stats: 28 lines in 7 files changed: 8 ins; 8 del; 12 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/263.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/263/head:pull/263
PR: https://git.openjdk.org/jdk25u-dev/pull/263
More information about the jdk-updates-dev
mailing list