RFR: 8293170: Improve encoding of the debuginfo nmethod section [v17]

Boris Ulasevich bulasevich at openjdk.org
Thu Dec 15 15:47:13 UTC 2022


On Wed, 14 Dec 2022 13:27:50 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

>> Boris Ulasevich has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   a few minor changes
>
> src/hotspot/share/code/compressedStream.cpp line 119:
> 
>> 117: bool CompressedSparseDataReadStream::read_zero() {
>> 118:   if (_buffer[_position] & (1 << (7 - _bit_position))) {
>> 119:     return 0; // not a zero data
> 
> As the return type is `bool`, let's use `false` and 'true` instead of `0` and `1`.

ok

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

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


More information about the hotspot-compiler-dev mailing list