RFR: 8353189: [ASAN] memory leak after 8352184 [v3]
SendaoYan
syan at openjdk.org
Tue Apr 8 03:55:03 UTC 2025
> Hi all,
>
> This PR will try to fix memory leak after JDK-8352184. which re-do [JDK-8352184](https://bugs.openjdk.org/browse/JDK-8352184) using the original, purely static uses of the various description strings, as @jianglizhou had proposed.
>
> Additional testing:
>
> - [x] jtreg tests(include tier1/2/3 etc.) on linux-x64
> - [x] jtreg tests(include tier1/2/3 etc.) on linux-aarch64
> - [x] full `java -version` tests, the test shell script show as below.
>
> [JDK-8353189.sh.txt](https://github.com/user-attachments/files/19632637/JDK-8353189.sh.txt)
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
add a comment to explain why we avoid dynamic memory allocation for the vm_info_string
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24299/files
- new: https://git.openjdk.org/jdk/pull/24299/files/9d039fd5..461b0f84
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24299&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24299&range=01-02
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/24299.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24299/head:pull/24299
PR: https://git.openjdk.org/jdk/pull/24299
More information about the hotspot-dev
mailing list