Merge
authorehelin
Mon, 09 Mar 2015 11:37:59 +0000
changeset 29471 8db7e3b9922b
parent 29469 2213171cca5b (diff)
parent 29470 e34bbcd36e53 (current diff)
child 29472 740ba666f6bb
Merge
--- a/hotspot/src/share/vm/classfile/classLoaderData.cpp	Mon Jan 26 10:32:35 2015 +0100
+++ b/hotspot/src/share/vm/classfile/classLoaderData.cpp	Mon Mar 09 11:37:59 2015 +0000
@@ -902,7 +902,7 @@
 }
 
 Klass* ClassLoaderDataGraphKlassIteratorAtomic::next_klass() {
-  Klass* head = (Klass*)_next_klass;
+  Klass* head = _next_klass;
 
   while (head != NULL) {
     Klass* next = next_klass_in_cldg(head);
--- a/hotspot/src/share/vm/classfile/classLoaderData.hpp	Mon Jan 26 10:32:35 2015 +0100
+++ b/hotspot/src/share/vm/classfile/classLoaderData.hpp	Mon Mar 09 11:37:59 2015 +0000
@@ -315,7 +315,7 @@
 
 // An iterator that distributes Klasses to parallel worker threads.
 class ClassLoaderDataGraphKlassIteratorAtomic : public StackObj {
-  volatile Klass* _next_klass;
+ Klass* volatile _next_klass;
  public:
   ClassLoaderDataGraphKlassIteratorAtomic();
   Klass* next_klass();