RFR: 8329658: Serial: Refactor ContiguousSpace::_next_compaction_space [v4]

Guoxiong Li gli at openjdk.org
Fri Apr 12 07:45:42 UTC 2024


On Fri, 12 Apr 2024 07:31:56 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Polish
>
> Marked as reviewed by tschatzl (Reviewer).

@tschatzl What about:


    bool to_space_not_empty = !heap->young_gen()->to()->is_empty();
    if (to_space_not_empty) {


Please note the `!` and `not`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18666#issuecomment-2051197397


More information about the hotspot-gc-dev mailing list