RFR: JDK-8298084: Memory leak in Method::build_profiling_method_data [v3]

Justin King jcking at openjdk.org
Thu Dec 8 06:11:37 UTC 2022


> Resolve memory leak related to `MethodData::_extra_data_lock` in `Method::build_profiling_method_data` by calling `MethodData::~MethodData()`.

Justin King has updated the pull request incrementally with one additional commit since the last revision:

  Add argument to MetadataFactory::free_metadata indicating whether destructor should be invoked
  
  Signed-off-by: Justin King <jcking at google.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11526/files
  - new: https://git.openjdk.org/jdk/pull/11526/files/fbced7d3..7295e140

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

  Stats: 14 lines in 2 files changed: 7 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/11526.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11526/head:pull/11526

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


More information about the hotspot-dev mailing list