Questions tagged [concurrenthashmap]

The Java ConcurrentHashMap data structure. The ConcurrentHashmap is a hash table supporting full concurrency of retrievals and adjustable expected concurrency for updates. It allows concurrent modification of the Map from several threads without the need to block them

The Java ConcurrentHashMap data structure.

This class provides a thread-safe variant of HashMap.

811 questions
-3
votes
3 answers

Java Memory Leak (Loop Traversing)

My server has some kind of memory leak or something, java CPU usage jumps to 100% in an hour and after many hours, it jumps to 1100%. I was wondering if this loop traversing may cause a memory leak. for (Object o : friends.values()) { …
1 2 3
54
55