Learn about > java volatile

Search results

1-15 of 654 resultsView all results

Search result title:

Java theory and practice: Managing volatility

Search result description:Jun 19, 2007 ... The Java language contains two intrinsic synchronization mechanisms:
synchronized blocks (and methods) and volatile variables. Both are ...

Search result title:

Java theory and practice: Fixing the Java Memory Model, Part 2

Search result description:Mar 30, 2004 ... This month, he reveals how the semantics of volatile and final will change ... its
public recommendation on what to do about the Java Memory ...

Search result title:

5 things you didn't know about ... multithreaded Java programming

Search result description:Nov 9, 2010 ... While few Java™ developers can afford to ignore multithreaded programming ...
know that the Java language includes the keyword volatile .

Search result title:

Java theory and practice: Fixing the Java Memory Model, Part 1

Search result description:Feb 24, 2004 ... In this installment of Java theory and practice, Brian Goetz shows how the
semantics of volatile and final will be strengthened in order to fix the ...

Search result title:

Javaの理論と実践: volatile を扱う

Search result description:2007年6月19日 ... Java 言語に元々含まれている同期機構として、synchronized ブロック (およびメソッド)
volatile 変数の 2 つがあります。どちらも、スレッド・セーフに ...

Search result title:

Java concurrency bug patterns for multicore systems

Search result description:Dec 21, 2010 ... If you know that the volatile keyword in the Java language only guarantees
variable visibility, but not atomicity, this should make you pause.

Search result title:

JVM concurrency: Java and Scala concurrency basics

Search result description:Mar 25, 2014 ... The Java Language Specification for Java 5 corrected and formalized the
operation of synchronized and volatile . The specification also ...

Search result title:

dW:Java:Multithreaded Java programming:volatile vs threadlocal ...

Search result description:Oct 3, 2007 ... hi guys, in what scenarios would you consider the use of threadlocal to be
superior to simply making the data volatile? is there performance ...

Search result title:

Double checked locking in 1.5 with volatile?

Search result description:Jun 26, 2007 ... Does double checked locking work with volatile in Java 1.5 for singletons? Will
this code work? public class Singleton { static volatile Singleton ...

Search result title:

Java theory and practice: Going atomic

Search result description:Nov 23, 2004 ... The addition of the atomic variable classes in java.util.concurrent changes ...
Volatile variables can also be used to store shared variables at a ...

Search result title:

dW:Java:Multithreaded Java programming:Can a reference to an ...

Search result description:Mar 27, 2008 ... volatile offers only visibility and border of reordering (when one thread ...
According to Brian Goetz book, "Java Concurrency In Practice":

Search result title:

Java theory and practice: Building a better HashMap

Search result description:Aug 21, 2003 ... A version of ConcurrentHashMap optimized for the new Java Memory ... of
memory operations across threads -- synchronized and volatile .

Search result title:

Java theory and practice: More flexible, scalable locking in JDK 5.0

Search result description:Oct 26, 2004 ... For example, the ReentrantLock class in java.util.concurrent.lock is ...
concurrency constraints across threads -- synchronized and volatile .

Search result title:

Java theory and practice: Are all stateful Web applications broken?

Search result description:Sep 23, 2008 ... While there are many Web frameworks in the Java™ ecosystem, they .... by
synchronizing on a common lock or accessing a common volatile ...

Search result title:

Use HashMap for better multithreaded performance

Search result description:Sep 11, 2007 ... Learn a technique you can use in Java 1.5 and later to minimize this ... static
volatile Map currentMap = null; // this must be volatile static Object ...


1-15 of 654 resultsView all results