In #1679, we deleted flaky tests that were using these Collectors as if they were thread-safe from a parallel test. It's not clear to me if all Collectors must be thread-safe. Currently they are not thread-safe because they delegate directly to hashtable mutation methods on a non-thread-safe map. If these Collectors will be used from parallel contexts, we should make them thread-safe and possibly restore the deleted tests.