Integrated: 8303942: os::write should write completely

Afshin Zafari azafari at openjdk.org
Tue May 23 17:11:16 UTC 2023


On Tue, 2 May 2023 07:45:03 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> `os::write` is implemented using loops until the whole bytes are written. All uses of `os::write` in a loop are changed to single call. 
> Platform dependent versions of the `os::write` are also renamed and moved to private sections accordingly.
> Wrong uses/interpretations of return values from `os::write` in JFR code are corrected.
> 
> ###Test
> local: hotspot tier1
> mach5: tiers 1-5

This pull request has now been integrated.

Changeset: bddf4838
Author:    Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bddf48380e658df630fecad5eda40106a24b6e1c
Stats:     85 lines in 10 files changed: 36 ins; 21 del; 28 mod

8303942: os::write should write completely

Reviewed-by: coleenp, iklam, dholmes, mgronlun

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

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


More information about the hotspot-dev mailing list