StackOverflow Questions for Tag: concurrenthashmap

Leonis
Leonis

Reputation: 296

Check Map value, wait if need and update atomically

Score: 0

Views: 86

Answers: 2

Read More
Rocketstella
Rocketstella

Reputation: 97

Does Java ConcurrentHashMap computeIfAbsent() method support key-based "locking"?

Score: 7

Views: 3907

Answers: 4

Read More
Programming Guy
Programming Guy

Reputation: 7441

Is there a better way to determine if computeIfAbsent returned a new value?

Score: 5

Views: 810

Answers: 2

Read More
DKSRathore
DKSRathore

Reputation: 3063

When should I use ConcurrentSkipListMap?

Score: 95

Views: 46285

Answers: 6

Read More
Kirill
Kirill

Reputation: 8046

Since Java 9 HashMap.computeIfAbsent() throws ConcurrentModificationException on attempt to memoize recursive function results

Score: 35

Views: 14500

Answers: 4

Read More
Pradeep
Pradeep

Reputation: 12665

ConcurrentHashMap read, write and clear()

Score: -2

Views: 7041

Answers: 3

Read More
Raj Kukadia
Raj Kukadia

Reputation: 127

Concurrent Hash Map in Kotlin

Score: 7

Views: 4913

Answers: 4

Read More
Jesus Vasquez
Jesus Vasquez

Reputation: 153

Does Java 11 Properties class uses double synchronization? It uses ConcurrentHashMap and at the same time synchronized methods

Score: 1

Views: 99

Answers: 1

Read More
user26615121
user26615121

Reputation: 11

Why the low 16 bits of sizeCtl calculates the number of threads from 1 rather than 0 in ConcurrentHashMap?

Score: 1

Views: 42

Answers: 0

Read More
Simon Nickerson
Simon Nickerson

Reputation: 43159

Is it possible for ConcurrentHashMap to "deadlock"?

Score: 26

Views: 12410

Answers: 4

Read More
Hacı Efendi
Hacı Efendi

Reputation: 11

Is ConcurrentHashMap needed, if I will only use get() method

Score: 0

Views: 82

Answers: 1

Read More
R11G
R11G

Reputation: 1970

ConcurrentModificationException with ConcurrentHashMap

Score: 2

Views: 7249

Answers: 2

Read More
Iravanchi
Iravanchi

Reputation: 5159

Thread-safe map with null-key capability

Score: 6

Views: 5560

Answers: 2

Read More
telu
telu

Reputation: 31

Concurrent HashMap weak consistency missing past keys during iteration - multi thread pub/sub

Score: 3

Views: 103

Answers: 1

Read More
user9890324
user9890324

Reputation:

Cleanup for expiring hash maps

Score: 0

Views: 918

Answers: 2

Read More
IronWidget
IronWidget

Reputation: 88

Why does Java's Cleaner use a linked list instead of a ConcurrentHashSet?

Score: 2

Views: 87

Answers: 1

Read More
gstackoverflow
gstackoverflow

Reputation: 37034

Lock handler for arbitrary keys

Score: 17

Views: 2459

Answers: 11

Read More
ystraw y
ystraw y

Reputation: 33

When find() of tbb::concurrent_hash_map is used in parallel with iteration, the amount of data obtained is inconsistent with the size of the map?

Score: 1

Views: 136

Answers: 1

Read More
Beercola
Beercola

Reputation: 1

Is it strictly necessary to use atomic integer inside a compute block?

Score: -4

Views: 94

Answers: 1

Read More
dt94
dt94

Reputation: 117

How to lock on key in a ConcurrentHashMap

Score: 9

Views: 4425

Answers: 2

Read More
PreviousPage 1Next