RFR: 8252049: Native memory leak in ciMethodData ctor [v4]
Vladimir Ivanov
vlivanov at openjdk.java.net
Tue Dec 8 11:08:24 UTC 2020
On Tue, 8 Dec 2020 01:48:53 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> This doesn't initialize _creation_mileage. Is that a bug? Should that be a constructor argument?
I don't think there's a bug since `MethodData` initializes it right away (and `ciMethodData` bulk copies it from the original version), but agree passing it as a constructor argument is cleaner. Updated version posted.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1478
More information about the hotspot-compiler-dev
mailing list