hotspot/src/share/vm/classfile/placeholders.hpp
changeset 46380 4a51438196cf
parent 46329 53ccc37bda19
child 46729 c62d2e8b2728
equal deleted inserted replaced
46379:43ec76e10184 46380:4a51438196cf
    95   // find_and_remove first removes SeenThread for classloadAction
    95   // find_and_remove first removes SeenThread for classloadAction
    96   // If all queues are empty and definer is null, remove the PlacheholderEntry completely
    96   // If all queues are empty and definer is null, remove the PlacheholderEntry completely
    97   void find_and_remove(int index, unsigned int hash,
    97   void find_and_remove(int index, unsigned int hash,
    98                        Symbol* name, ClassLoaderData* loader_data,
    98                        Symbol* name, ClassLoaderData* loader_data,
    99                        classloadAction action, Thread* thread);
    99                        classloadAction action, Thread* thread);
   100 
       
   101   // GC support.
       
   102   void classes_do(KlassClosure* f);
       
   103 
       
   104   // JVMTI support
       
   105   void entries_do(void f(Symbol*));
       
   106 
   100 
   107 #ifndef PRODUCT
   101 #ifndef PRODUCT
   108   void print();
   102   void print();
   109 #endif
   103 #endif
   110   void verify();
   104   void verify();
   327       seen = seen->next();
   321       seen = seen->next();
   328     }
   322     }
   329     return (actionToQueue(action) == NULL);
   323     return (actionToQueue(action) == NULL);
   330   }
   324   }
   331 
   325 
   332   // GC support
       
   333   // Applies "f->do_oop" to all root oops in the placeholder table.
       
   334   void classes_do(KlassClosure* closure);
       
   335 
       
   336   // Print method doesn't append a cr
   326   // Print method doesn't append a cr
   337   void print() const  PRODUCT_RETURN;
   327   void print() const  PRODUCT_RETURN;
   338   void verify() const;
   328   void verify() const;
   339 };
   329 };
   340 
   330