RFR: 8314114: Fix -Wconversion warnings in os code, primarily linux [v4]

Coleen Phillimore coleenp at openjdk.org
Fri Aug 11 19:12:58 UTC 2023


> This change fixes various -Wconversion warnings from files in the os directories and related, widening types or adding checked_cast<> where narrowing.
> Tested with tier1 on linux/macosx/windows and tier1-4 on linux-x64-debug, windows-x64-debug.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Put back size_t parameter for print_signal_handlers and add a checked_cast<> future could fix the dll_address_to_x functions.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15229/files
  - new: https://git.openjdk.org/jdk/pull/15229/files/6777a2a2..ab81b2ed

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

  Stats: 8 lines in 4 files changed: 0 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/15229.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15229/head:pull/15229

PR: https://git.openjdk.org/jdk/pull/15229


More information about the hotspot-dev mailing list