[jdk11u-dev] RFR: 8310176: JDK 11 G1 crash during full GC with +UseStringDeduplication [v5]

Man Cao manc at openjdk.org
Fri Jul 7 22:41:17 UTC 2023


On Tue, 4 Jul 2023 10:18:08 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

>> Man Cao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Check for presence of rehash count >0
>
> test/hotspot/jtreg/gc/g1/TestStringDeduplicationTools.java line 395:
> 
>> 393:                                                       "-Xlog:gc,gc+stringdedup=trace",
>> 394:                                                       "-XX:+StringDeduplicationRehashALot");
>> 395:         output.shouldContain("Concurrent String Deduplication");
> 
> Is there a reason you don't check `output.shouldContain("Full GC")`?

Thanks, added this check. I copied it from `testTableRehash()` initially.

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

PR Review Comment: https://git.openjdk.org/jdk11u-dev/pull/1948#discussion_r1256566613


More information about the jdk-updates-dev mailing list