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

Afshin Zafari duke at openjdk.org
Mon May 8 11:11:26 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/7b410609..df99a9d7

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

  Stats: 26 lines in 8 files changed: 2 ins; 0 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