RFR: 8299075: TestStringDeduplicationInterned.java fails because extra deduplication

Stefan Karlsson stefank at openjdk.org
Tue May 16 15:15:51 UTC 2023


On Tue, 16 May 2023 09:39:04 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> The tests assumes that some strings have not been deduplicated and checks for that. Unfortunately, we can have concurrently triggered GCs that invalidate those checks. I kept the call sites to show the intention of the test, but then I added a comment explaining why those checks are invalid.

Thanks for the review! I'd like to get this pushed ASAP since it intermittently fails in tier2.

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

PR Comment: https://git.openjdk.org/jdk/pull/14005#issuecomment-1549866382


More information about the hotspot-gc-dev mailing list