[jdk11u-dev] RFR: 8252049: Native memory leak in ciMethodData ctor

Martin Doerr mdoerr at openjdk.java.net
Wed Sep 15 09:14:42 UTC 2021


On Fri, 10 Sep 2021 23:15:47 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Backport of JDK-8252049. Doesn't apply cleanly and C++11 code needs replacement. Resolution:
> 
> - Use `STATIC_ASSERT` instead of `static_assert`.
> - Use classical instead of delegating constructor for `CompilerCounters`.
> - Integrate hunks manually due to different context: methodData.hpp, methodData.cpp, ciMethodData.cpp
> - Skip ciReplay.cpp because JDK-8219642 is not in 11u.

Thanks for the review!

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/327


More information about the jdk-updates-dev mailing list