RFR: JDK-8314426: runtime/os/TestTrimNative.java is failing on slow machines [v2]

Thomas Stuefe stuefe at openjdk.org
Tue Aug 22 14:13:17 UTC 2023


> SAP reported errors on slow machines. Patch hardens the test against that.
> 
> - remove the grep for "Native Trimmer Stop" message, since that message is raced by the VM death and may not appear on slow machines
> - for the low-interval test, made the number of trims to happen dependent on the runtime of the test. On slow machines, we could run longer than 3 seconds and therefore see more trim messages

Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:

  Update test/hotspot/jtreg/runtime/os/TestTrimNative.java
  
  Co-authored-by: Aleksey Shipilëv <shipilev at amazon.de>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15309/files
  - new: https://git.openjdk.org/jdk/pull/15309/files/087687b4..b74c6cdd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15309&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15309&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15309.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15309/head:pull/15309

PR: https://git.openjdk.org/jdk/pull/15309


More information about the hotspot-runtime-dev mailing list