[crac] RFR: Report checkpoint processing to jcmd [v21]
Ilarion Nakonechnyy
inakonechnyy at openjdk.org
Fri Aug 12 13:47:44 UTC 2022
On Wed, 10 Aug 2022 17:36:38 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
>> Ilarion Nakonechnyy has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - implement checkpointRestoreLocked
>> - Revert "java core crac corections"
>>
>> This reverts commit 6a2b03b77f1ee4e6d48a120a14694d8dff9dbf39.
>
> src/hotspot/os/linux/os_linux.cpp line 5731:
>
>> 5729:
>> 5730: static void print_resources(outputStream * ostream, const char* msg, ... ) {
>> 5731: outputStream * ou = (ostream == NULL) ? tty : ostream;
>
> You can probably move this check into VM_Crac, then get rid of these helper functions as trivial ones
Moved the output stream selection into VM_Crac constructor, but propose still use these functions for hiding check on `CRPrintResourcesOnCheckpoint`, `CRTrace`.
-------------
PR: https://git.openjdk.org/crac/pull/10
More information about the crac-dev
mailing list