RFR: 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Stefan Karlsson
stefank at openjdk.org
Tue May 16 09:45:56 UTC 2023
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.
-------------
Commit messages:
- 8299075: TestStringDeduplicationInterned.java fails because extra deduplication
Changes: https://git.openjdk.org/jdk/pull/14005/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14005&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8299075
Stats: 21 lines in 1 file changed: 9 ins; 5 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/14005.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14005/head:pull/14005
PR: https://git.openjdk.org/jdk/pull/14005
More information about the hotspot-gc-dev
mailing list