RFR: 8293824: gc/whitebox/TestConcMarkCycleWB.java failed "RuntimeException: assertTrue: expected true, was false" [v2]

Kim Barrett kbarrett at openjdk.org
Fri Dec 9 23:20:04 UTC 2022


On Tue, 6 Dec 2022 19:32:13 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

>> Kim Barrett has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains seven commits:
>> 
>>  - use new whitebox api for running conc gc
>>  - Merge branch 'master' into test-concmark
>>  - copyrights
>>  - remove WB.g1StartConcMarkCyle
>>  - update tests
>>  - add utility GC breakpoint functions
>>  - add G1ConcurrentMark::completed_mark_cycles() and whitebox access
>
> test/hotspot/jtreg/gc/stress/TestStressRSetCoarsening.java line 296:
> 
>> 294:                     // Number of references went down.
>> 295:                     // Need to provoke recalculation of RSet.
>> 296:                     WB.g1RunConcurrentGC(false);
> 
> probably use `WB.g1RunConcurrentGC();` overload for consistency with other calls

Suppression of detection of failure to complete a cycle here was intentional.
In some configurations (like with `-Xcomp`) in this stress test, a full GC may
occur during and abort the concurrent cycle. I saw this intermittently in
testing.

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

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


More information about the hotspot-dev mailing list