RFR: 8353189: [ASAN] memory leak after 8352184 [v2]

SendaoYan syan at openjdk.org
Mon Apr 7 13:14:37 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 [~jiangli] had proposed.
> 
> Additional testing:
> 
> - [ ] jtreg tests(include tier1/2/3 etc.) on linux-x64
> - [ ] 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 two additional commits since the last revision:

 - Use static static string instead of assemble string dynamic
 - Revert "8353189: [ASAN] memory leak after 8352184"
   
   This reverts commit 71bc3ad34ebd57cc6642dfede18cec65e3694dd1.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24299/files
  - new: https://git.openjdk.org/jdk/pull/24299/files/71bc3ad3..9d039fd5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24299&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24299&range=00-01

  Stats: 58 lines in 4 files changed: 17 ins; 26 del; 15 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