RFR: 8255119: Monitor::wait takes signed integer as timeout
David Holmes
dholmes at openjdk.org
Tue Jan 10 00:48:59 UTC 2023
On Mon, 9 Jan 2023 22:21:14 GMT, David Holmes <dholmes at openjdk.org> wrote:
> I realized the windows code still had a pre-existing truncation bug due to the 64-bit -> 32-bit conversion. In practice it is not an issue as we never use such large timeout values in the VM. Re-running Windows builds/tests.
Strike that. I fixed the truncation bug with the UINT_MAX check. All that was missing was an explicit cast to DWORD - which for some reason the compiler never complained about, but I added for clarity.
-------------
PR: https://git.openjdk.org/jdk/pull/11898
More information about the hotspot-runtime-dev
mailing list