On Sat, 8 Aug 2026 10:40:50 GMT, Yunbo Zhang <[email protected]> wrote:
>> 8390024: WB_ParseCommandLine leaks C-heap memory when parsing STRING >> arguments >> >> >> >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Yunbo Zhang has updated the pull request incrementally with one additional > commit since the last revision: > > 8390024: Improve ParseCommandLineMemoryTest portability src/hotspot/share/prims/wbtestmethods/parserTests.cpp line 160: > 158: ResourceMark rm; > 159: DCmdParser parser; > 160: DCmdParserMark parser_mark(&parser); Shouldn't the `DcmdParser` destructor take care of calling `DCmdParser::cleanup().`? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32263#discussion_r3740723325
