RFR: 8353189: [ASAN] memory leak after 8352184

SendaoYan syan at openjdk.org
Thu Apr 10 08:45:35 UTC 2025


On Sun, 6 Apr 2025 22:01:20 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> 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/19643535/JDK-8353189.sh.txt)
>
> After looking into the details ([JDK-8353595](https://bugs.openjdk.org/browse/JDK-8353595)) I don't think there is any choice but to 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.

Thanks for the reviews and suggestions @dholmes-ora @zhengyu123 @jianglizhou

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

PR Comment: https://git.openjdk.org/jdk/pull/24299#issuecomment-2792009548


More information about the hotspot-dev mailing list