< prev index next >

src/share/vm/classfile/placeholders.hpp

Print this page
rev 9088 : 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux.

@@ -218,11 +218,11 @@
   bool equals(Symbol* class_name, ClassLoaderData* loader) const {
     return (klassname() == class_name && loader_data() == loader);
   }
 
   SeenThread* actionToQueue(PlaceholderTable::classloadAction action) {
-    SeenThread* queuehead;
+    SeenThread* queuehead = NULL;
     switch (action) {
       case PlaceholderTable::LOAD_INSTANCE:
          queuehead = _loadInstanceThreadQ;
          break;
       case PlaceholderTable::LOAD_SUPER:
< prev index next >