RFR: 8310577: Fix -Wconversion warnings in interpreter and oops

Coleen Phillimore coleenp at openjdk.org
Wed Jun 21 20:03:10 UTC 2023


Please review this change that's mostly casts and a few int type narrowing changes.  The casts are for size calculations between two addresses within the same area so can be int and are never going to be 64 bit.
I didn't change CompileThreshold to be 'int' because SA and JVMCI code expects it to be intx.  Maybe that should change though.
Tested with tier1 on Oracle platforms.

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

Commit messages:
 - Fix -Wconversion warnings in interpreter and oops

Changes: https://git.openjdk.org/jdk/pull/14604/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14604&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310577
  Stats: 46 lines in 17 files changed: 1 ins; 2 del; 43 mod
  Patch: https://git.openjdk.org/jdk/pull/14604.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14604/head:pull/14604

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


More information about the hotspot-dev mailing list