RFR: 8272327: Shenandoah: Avoid enqueuing duplicate string candidates

Roman Kennke rkennke at openjdk.java.net
Mon Aug 16 09:17:28 UTC 2021


On Thu, 12 Aug 2021 00:12:14 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Now, there is a new API java_lang_String::test_and_set_deduplication_requested() that can help to identify if a string candidate has been enqueued, so that we can avoid enqueuing duplicate entries.
> 
> Test:
> - [x] hotspot_gc_shenandoah

Looks good to me, thanks!

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

Marked as reviewed by rkennke (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5096



More information about the hotspot-gc-dev mailing list