RFR: JDK-8312049: runtime/logging/ClassLoadUnloadTest can be improved

Thomas Stuefe stuefe at openjdk.org
Thu Jul 13 18:52:37 UTC 2023


Trivial improvements, mainly not spawning individual child processes for every call to `checkFor` and `checkAbsent`. Runtime goes down from 14s -> 10s. We could reduce the runtime a lot more by splitting up the test but I avoided that.

Checked manually on x64 Linux.

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

Commit messages:
 - JDK-8312049-runtime/logging/ClassLoadUnloadTest-can-be-improved

Changes: https://git.openjdk.org/jdk/pull/14876/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14876&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312049
  Stats: 45 lines in 1 file changed: 2 ins; 7 del; 36 mod
  Patch: https://git.openjdk.org/jdk/pull/14876.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14876/head:pull/14876

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


More information about the hotspot-runtime-dev mailing list