summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2007-01-26 23:07:08 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-26 23:07:08 +0000
commit7969a3791efb8a9dbed7b6a049d98befcf10db0d (patch)
tree480b780978724842f7b5256099d0c2c73aa4f70d /libjava/java/util/concurrent/ConcurrentHashMap$Segment.h
parentcdd76d88c8200bcc541204daeca4770ec6221f5d (diff)
libjava
* Updated headers. libjava/classpath * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print 'volatile' after field type. From-SVN: r121215
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$;