RFR: 8252049: Native memory leak in ciMethodData ctor [v2]

Vladimir Ivanov vlivanov at openjdk.java.net
Fri Dec 4 12:45:32 UTC 2020


On Mon, 30 Nov 2020 13:42:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Vladimir Ivanov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
>> 
>>  - Introduce MethodData::MDHeader class
>>  - Merge branch 'master' into 8252049.md.leak
>>  - Cleanup
>>  - Merge branch 'master' into 8252049.md.leak
>>  - Minor refactoring
>>  - Fix native memory leak in ciMethodData ctor
>
> Changes requested by coleenp (Reviewer).

Thanks for the feedback, David, Kim, and Coleen.

I reworked the fix and moved the fields accessed by `ciMethodData` into a separate class which is then embedded into `MethodData`. Let me know what you think about it.

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

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


More information about the hotspot-compiler-dev mailing list