RFR: 8271124: CTW tests crashed with assert(is_valid_method(o)) failed: should be valid jmethodid

Coleen Phillimore coleenp at openjdk.java.net
Mon Oct 18 17:13:01 UTC 2021


Add a lock in VirtualSpaceList::contains to protect the virtual space list for Metaspace::contains.  See CR for more details.
Tested with tier2 linux-aarch64-debug where the failure happened, and tier1-3 linux-x64-debug,linux-x64,windows-x64-debug in progress (almost done but it's being slow today).

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

Commit messages:
 - 8271124: CTW tests crashed with assert(is_valid_method(o)) failed: should be valid jmethodid

Changes: https://git.openjdk.java.net/jdk/pull/5990/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5990&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271124
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5990.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5990/head:pull/5990

PR: https://git.openjdk.java.net/jdk/pull/5990


More information about the hotspot-runtime-dev mailing list