hg: jdk8/awt/jdk: 7080700: numAppContexts is accessed in non-threadsafe way in sun.awt.AppContext

anthony.petrov at oracle.com anthony.petrov at oracle.com
Mon Apr 16 07:37:23 PDT 2012


Changeset: 7b0ed75abef4
Author:    anthony
Date:      2012-04-16 18:36 +0400
URL:       http://hg.openjdk.java.net/jdk8/awt/jdk/rev/7b0ed75abef4

7080700: numAppContexts is accessed in non-threadsafe way in sun.awt.AppContext
Summary: Replace a volatile integer with an AtomicInteger for numAppContexts
Reviewed-by: anthony, art, dholmes

! src/share/classes/sun/awt/AppContext.java



More information about the jdk8-changes mailing list