RFR: 8299518: HotSpotVirtualMachine shared code across different platforms [v3]
David Holmes
dholmes at openjdk.org
Thu Jan 5 04:33:50 UTC 2023
On Thu, 5 Jan 2023 02:37:45 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Yi Yang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> add doc; readImpl/closeImpl to read/close
>
> src/jdk.attach/share/classes/sun/tools/attach/HotSpotVirtualMachine.java line 372:
>
>> 370: }
>> 371:
>> 372: void processCompletionStatus(IOException ioe, String cmd, InputStream sis) throws AgentLoadException, IOException {
>
> Some doc comments for this method would be good.
I was thinking more about describing what the parameters are - in particular it is unclear why the actual IOE can be replaced by a passed in one. If we wanted a custom message then I would at least expect to chain the actual IOE to the replacement.
-------------
PR: https://git.openjdk.org/jdk/pull/11823
More information about the serviceability-dev
mailing list