RFR: 8319873: Add windows implementation for jcmd System.map and System.dump_map [v10]
David Holmes
dholmes at openjdk.org
Thu Sep 12 00:00:08 UTC 2024
On Wed, 11 Sep 2024 14:48:53 GMT, Simon Tooke <stooke at openjdk.org> wrote:
>> This is a port of [JDK-8318636](https://github.com/openjdk/jdk/pull/16301) to Windows.
>>
>> System.map and System.dump_map are implemented using the Windows API and provide roughly the same information in the same format. Most of the heavy lifting was implemented by @tstuefe in #16301 - this PR adds the Windows implementation and enables the common code for Windows 64 bit.
>>
>> [Sample output (with NMT enabled)](https://github.com/user-attachments/files/16663332/vm_memory_map_760.txt)
>
> Simon Tooke has updated the pull request incrementally with one additional commit since the last revision:
>
> changes per review
src/hotspot/share/services/diagnosticCommand.cpp line 1196:
> 1194: void SystemDumpMapDCmd::execute(DCmdSource source, TRAPS) {
> 1195: const char* name = _filename.value();
> 1196: if (name == NULL || name[0] == 0) {
Suggestion:
if (name == nullptr ...
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20597#discussion_r1755876069
More information about the serviceability-dev
mailing list