RFR: 8303942: os::write should write completely [v3]

Afshin Zafari duke at openjdk.org
Fri May 5 08:59:41 UTC 2023


> `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

Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:

  8303942: os::write should write completely

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13750/files
  - new: https://git.openjdk.org/jdk/pull/13750/files/f485b467..b4f2d725

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13750&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13750&range=01-02

  Stats: 26 lines in 10 files changed: 1 ins; 1 del; 24 mod
  Patch: https://git.openjdk.org/jdk/pull/13750.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13750/head:pull/13750

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


More information about the hotspot-dev mailing list