summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-26 23:07:08 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-26 23:07:08 +0000
commitf3a70d059f02a1d45b2583e316de8b97a9e2250e (patch)
tree480b780978724842f7b5256099d0c2c73aa4f70d /libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
parent4957c5e4c71bb7eab18529c0ac46a036a54e48b8 (diff)
downloadppe42-gcc-f3a70d059f02a1d45b2583e316de8b97a9e2250e.tar.gz
ppe42-gcc-f3a70d059f02a1d45b2583e316de8b97a9e2250e.zip
libjava
* Updated headers. libjava/classpath * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print 'volatile' after field type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/concurrent/ConcurrentHashMap$Segment.h')
-rw-r--r--libjava/java/util/concurrent/ConcurrentHashMap$Segment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h b/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
index aaa2a7ae10d..55d06e8698f 100644
--- a/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
+++ b/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
@@ -31,10 +31,10 @@ public: // actually package-private
private:
static const jlong serialVersionUID = 2249069246763182397LL;
public: // actually package-private
- volatile jint __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::ReentrantLock)))) count;
+ jint volatile __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::ReentrantLock)))) count;
jint modCount;
jint threshold;
- volatile JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * table;
+ JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * volatile table;
jfloat loadFactor;
public:
static ::java::lang::Class class$;
OpenPOWER on IntegriCloud