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

Afshin Zafari duke at openjdk.org
Wed May 3 11:43:11 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/2601fa13..f485b467

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

  Stats: 12 lines in 1 file changed: 0 ins; 6 del; 6 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