RFR: 8275800: Redefinition leaks MethodData::_extra_data_lock [v2]

Coleen Phillimore coleenp at openjdk.java.net
Mon Oct 25 22:49:39 UTC 2021


> The Mutex destructor isn't called for the MDO lock.  We found this leak with crashes for the patch to print all mutex locks on error, which is now withdrawn.  It was easily reproduced with that patch.  It is not easily reproduced otherwise.
> I tested this change with that patch though and it passes tier1-6,

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Add parameter to release_C_heap_structures.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6105/files
  - new: https://git.openjdk.java.net/jdk/pull/6105/files/09b9bfcb..22b38b03

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6105&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6105&range=00-01

  Stats: 22 lines in 4 files changed: 4 ins; 10 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6105.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6105/head:pull/6105

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


More information about the hotspot-dev mailing list