RFR: JDK-8301749: Tracking malloc pooled memory size [v2]

Johan Sjölen jsjolen at openjdk.org
Thu Feb 9 10:38:39 UTC 2023


On Thu, 9 Feb 2023 06:17:02 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Johan Sjölen has updated the pull request incrementally with four additional commits since the last revision:
>> 
>>  - Fix the test
>>  - Note man section
>>  - Add test
>>  - Reimplement malloc_info as requested
>
> test/hotspot/jtreg/serviceability/dcmd/vm/MallocInfoTest.java line 44:
> 
>> 42:         OutputAnalyzer output = executor.execute("System.native_heap_info");
>> 43:         output.reportDiagnosticSummary();
>> 44:         output.shouldNotMatch(".*Error.*");
> 
> Can you test exitValue instead of parsing for an error?

I don't think so. Looking at  the `DCmd` class, there seems to be no support of specifying exit value.

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

PR: https://git.openjdk.org/jdk/pull/12455


More information about the hotspot-runtime-dev mailing list