[jdk25u-dev] RFR: 8370646: TestLargeUTF8Length.java needs lots of memory

Roland Mesde duke at openjdk.org
Wed Dec 3 17:23:26 UTC 2025


Backporting JDK-8370646: TestLargeUTF8Length.java needs lots of memory.

For parity with Oracle JDK. Fix adds minimum memory requirements for test. Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64. Also ran a test on an EC2 instance (linux-x64) with less than the required memory (t2.large - 8 GB) and the test was not executed:

(Passed) - make test-tier1
(Passed) - make test TEST=test/hotspot/jtreg/runtime/jni/checked/TestLargeUTF8Length,java

Results are attached.

[linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23912736/linux-aarch64-jtreg-tier1.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23912737/linux-aarch64-specific-test.log)
[linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23912738/linux-x64-jtreg-tier1.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/23912739/linux-x64-specific-test.log)
[macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23912740/macos-aarch64-jtreg-tier1.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23912741/macos-aarch64-specific-test.log)
[windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23912742/windows-x64-jtreg-tier1.log)
[windows-x64-specific-test.log](https://github.com/user-attachments/files/23912743/windows-x64-specific-test.log)

-------------

Commit messages:
 - Backport 3c1010b57f2f8258a2ccf59b9f86fc8debd71918

Changes: https://git.openjdk.org/jdk25u-dev/pull/48/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=48&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370646
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/48.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/48/head:pull/48

PR: https://git.openjdk.org/jdk25u-dev/pull/48


More information about the jdk-updates-dev mailing list