On Wed, 16 Aug 2023 19:16:28 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

>> Fix MaxElementPrintSize and casts. Also fixed miscellaneous -Wconversion 
>> warnings in runtime code.  This is the last one I'm going to do for runtime 
>> for a while.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Remove wrong comment.

src/hotspot/share/utilities/elfFile.cpp line 1723:

> 1721: void 
> DwarfFile::LineNumberProgram::LineNumberProgramState::set_index_register(const
>  uint64_t operation_advance,
> 1722:                                                                         
>       const LineNumberProgramHeader& header) {
> 1723:   _op_index = (_op_index + operation_advance) % 
> header._maximum_operations_per_instruction;

This should be narrowed by a byte.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15233#discussion_r1296456394

Reply via email to