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

Afshin Zafari azafari at openjdk.org
Tue May 23 15:16:16 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 two additional commits since the last revision:

 - 8303942: os::write should write completely
 - 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/cfe16089..4cd35f69

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

  Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 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