Is garbage collection thread safe?


#1

Is it safe to use gc() within a Threads.@threads for loop?


#2

Yes. Fwiw that isn’t really what threadsafety of GC usually mean though…