Integrated: 8299075: TestStringDeduplicationInterned.java fails because extra deduplication

Stefan Karlsson stefank at openjdk.org
Tue May 16 16:07:58 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.

This pull request has now been integrated.

Changeset: 682359cb
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/682359cb4871d779425a9468e8a307169b3651d6
Stats:     21 lines in 1 file changed: 9 ins; 5 del; 7 mod

8299075: TestStringDeduplicationInterned.java fails because extra deduplication

Reviewed-by: kbarrett, tschatzl

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

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


More information about the hotspot-gc-dev mailing list