StackOverflow Questions for Tag: memory-visibility

Cratylus
Cratylus

Reputation: 54074

Volatile variables and other variables

Score: 17

Views: 2015

Answers: 2

Read More
Anonemous
Anonemous

Reputation: 309

Java memory visibility outside the synchronized lock

Score: 0

Views: 127

Answers: 1

Read More

When does freeze action happen in java constructor?

Score: 3

Views: 198

Answers: 1

Read More
Dog
Dog

Reputation: 7787

Why does this Java program terminate despite that apparently it shouldn't (and didn't)?

Score: 210

Views: 50763

Answers: 5

Read More
Kirill
Kirill

Reputation: 8056

Does synchronisation with ConcurrentHashMap's .compute() guarantee visibility?

Score: 1

Views: 381

Answers: 2

Read More
Lavish Kothari
Lavish Kothari

Reputation: 2331

Visibility guarantee with CompletableFuture's thenAccept

Score: 5

Views: 242

Answers: 0

Read More
RmbRT
RmbRT

Reputation: 470

Atomic operation propagation/visibility (atomic load vs atomic RMW load)

Score: 5

Views: 2053

Answers: 3

Read More
anonymous
anonymous

Reputation: 11

Which ARM memory barrier guarantees that one of two threads will observe what the other thread wrote?

Score: 1

Views: 1088

Answers: 1

Read More
Chronial
Chronial

Reputation: 70673

C++11 atomics. visibility and thread.join() / correct way to stop a thread

Score: 4

Views: 669

Answers: 2

Read More
stephenbez
stephenbez

Reputation: 5658

How to demonstrate memory visibility problems in Go?

Score: 4

Views: 372

Answers: 0

Read More
dontocsata
dontocsata

Reputation: 3071

Are static variables shared between threads?

Score: 102

Views: 115249

Answers: 7

Read More
Caio Rodrigo
Caio Rodrigo

Reputation: 11

Fill a singleton once and access data from all threads in java

Score: 0

Views: 56

Answers: 0

Read More
JamesJenkins
JamesJenkins

Reputation: 141

Does atomic variables guarantee memory visibility?

Score: 13

Views: 2339

Answers: 2

Read More
Marin Veršić
Marin Veršić

Reputation: 403

Java ConcurrentHashMap.computeIfPresent value modification visibility

Score: 14

Views: 2096

Answers: 3

Read More
Mario Ishac
Mario Ishac

Reputation: 5877

If Thread B wishes to see changes Thread A makes, can only the last change be to a volatile variable as opposed to all?

Score: 4

Views: 170

Answers: 1

Read More
CaptainHastings
CaptainHastings

Reputation: 1597

Visibility Guarantee

Score: 6

Views: 395

Answers: 3

Read More
krosenvold
krosenvold

Reputation: 77151

Is unsynchronized read of integer threadsafe in java?

Score: 12

Views: 2830

Answers: 5

Read More
Vitaliy
Vitaliy

Reputation: 8206

Spring and Java visibility

Score: 0

Views: 240

Answers: 0

Read More
LoPoBo
LoPoBo

Reputation: 1847

Are operations before Thread.start() thread safe in relation to the new thread?

Score: 0

Views: 30

Answers: 0

Read More
lencha
lencha

Reputation: 11

Is it thread safe that java anonymous inner-class implements Runnable and shared outer-class object?

Score: 1

Views: 266

Answers: 1

Read More
PreviousPage 1Next