RFR: 8337683: Fix -Wconversion problem with arrayOop.hpp
Coleen Phillimore
coleenp at openjdk.org
Mon Aug 5 13:37:31 UTC 2024
On Thu, 1 Aug 2024 18:49:34 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Since base_offset_in_bytes and HeapWordSize are int, there's no loss of conversion in making these variables int. This seems trivial.
> Tested with tier1 on linux and windows.
If I add in the -Wsign-conversion flags, there's a lot more lines that give an error (everywhere). I can close this as WNF if just fixing the -Wconversion error isn't helpful.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20431#issuecomment-2269095835
More information about the hotspot-dev
mailing list