RFR: 8292296: Use multiple threads to process ParallelGC deferred updates [v2]

Nick Gasson ngasson at openjdk.org
Wed Sep 21 08:23:06 UTC 2022


On Mon, 19 Sep 2022 09:51:35 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Nick Gasson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Make assert more strict
>
> src/hotspot/share/gc/parallel/psParallelCompact.cpp line 2611:
> 
>> 2609: 
>> 2610:   cm->update_contents(cast_to_oop(addr));
>> 2611:   assert(oopDesc::is_oop_or_null(cast_to_oop(addr)), "Expected an oop or NULL at " PTR_FORMAT, p2i(cast_to_oop(addr)));
> 
> Preexisting: I'd expect it's *not* null.

Fixed. And I re-ran the jtreg tests with the stricter assert.

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

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



More information about the hotspot-gc-dev mailing list