Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in java-memory-model

Why is volatile variable much more efficient than plain synchronization

Happens-before guarantee of Executor.submit()

Where JVM keeps information about reference and object types

java jvm java-memory-model

Java Memory Model and reordering operation

About reordering: Why this code throws RuntimeException despite using the volatile?

Does synchronized guarantee a thread will see the latest value of a non-volatile variable being modified by another thread?

How to understand JDK9 memory model?

How to find out where exact young/old gen is located in memory?

java jvm jmx java-memory-model

Implement Acquire/Release model by using volatile in java8

Is it guaranteed that volatile field would be properly initialized

Lazy initialization / memoization without volatile

Understanding Java memory model during context switches

What are the 'synchronized barriers'?

Happens-before and reordering of volatile

Can an Atomic compare and exchange overwrite a lazy write without seeing it?

How to understand JSR-133 Happens-Before is too Weak Figure6/7

java java-memory-model

Thread-safety of NIO2 CompletionHandler

java java-memory-model nio2

Thread-safe but fast access to an "eventually final" variable?

Java multi-threaded program using join() gives wrong results in calculating sum of adjacent numbers

CompletableFuture, mutable objects and memory visibility