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

Afshin Zafari duke at openjdk.org
Mon May 8 15:06:42 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/df99a9d7..9e915400

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

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