4 ms·
The biggest of them was all of the Node objects that ConcurrentSkipListSet generates. Replacing that with a synchronized TreeSet fixed most GC issues. Yes, thi
by gamegoblin 11y ago
The biggest of them was all of the Node objects that ConcurrentSkipListSet generates. Replacing that with a synchronized TreeSet fixed most GC issues.
Yes, this was a 100K+ element collection being concurrently used by 1000+ threads. I used YourKit to profile.