RFR: 8253037: G1: Improve check for string dedup

Albert Mingkun Yang ayang at openjdk.java.net
Sun Nov 1 12:21:54 UTC 2020


On Sun, 1 Nov 2020 11:38:56 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> That seems redundant, since this function is in StringDedup.

OK, then the fact that its neighbor, `enqueue_from_mark`, doesn't have such precondition (must be `java_string`), but shares the same naming schema could be a bit surprising. Or, maybe it's better to add the same precondition for `enqueue_from_mark` as well?

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

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



More information about the hotspot-gc-dev mailing list