RFR: 8328879: G1: Some gtests modify global state crashing the JVM during GC after JDK-8289822

Thomas Schatzl tschatzl at openjdk.org
Tue Apr 9 12:43:17 UTC 2024


Hi all,

  please review this change that modifies two gtests to use `TEST_OTHER_VM` because they modify global state. It adds like 50ms each to test execution here, but modifying either the test or the VM seems too complicated.

Testing: local gtest runs

Thanks,
  Thomas

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

Commit messages:
 - 8328879

Changes: https://git.openjdk.org/jdk/pull/18691/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18691&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328879
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/18691.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18691/head:pull/18691

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


More information about the hotspot-gc-dev mailing list