< prev index next >

src/hotspot/share/classfile/classLoaderData.hpp

Print this page

        

@@ -192,11 +192,11 @@
       Chunk* _next;
 
       Chunk(Chunk* c) : _next(c), _size(0) { }
     };
 
-    Chunk* _head;
+    Chunk* volatile _head;
 
     void oops_do_chunk(OopClosure* f, Chunk* c, const juint size);
 
    public:
     ChunkedHandleList() : _head(NULL) {}
< prev index next >