RFR: 8303942: FileMapInfo::write_bytes aborts on a short os::write

David Holmes dholmes at openjdk.org
Mon Apr 3 09:18:50 UTC 2023


On Mon, 3 Apr 2023 08:59:01 GMT, Afshin Zafari <duke at openjdk.org> wrote:

> and I can't understand why os::write takes an unsigned int!

It is using the win32 signature. I'm going to assume at some point in time the Windows compiler was unhappy with casting size_t to unsigned int, so we made it take unsigned int.

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

PR Comment: https://git.openjdk.org/jdk/pull/13188#issuecomment-1493955636


More information about the hotspot-runtime-dev mailing list