[jdk11u-dev] RFR: 8252049: Native memory leak in ciMethodData ctor
Martin Doerr
mdoerr at openjdk.java.net
Fri Sep 10 23:23:06 UTC 2021
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.
-------------
Commit messages:
- Backport 044616bd71ab82f0f67670152cecbabfee83d00c
Changes: https://git.openjdk.java.net/jdk11u-dev/pull/327/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=327&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8252049
Stats: 195 lines in 7 files changed: 86 ins; 58 del; 51 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/327.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/327/head:pull/327
PR: https://git.openjdk.java.net/jdk11u-dev/pull/327
More information about the jdk-updates-dev
mailing list