< prev index next >

src/hotspot/share/runtime/thread.hpp

Print this page
rev 54213 : [mq]: 8220774-handshakealot-v3

@@ -1866,10 +1866,13 @@
   virtual void nmethods_do(CodeBlobClosure* cf);
 
   // RedefineClasses Support
   void metadata_do(MetadataClosure* f);
 
+  // Debug method asserting thread states are correct during a handshake operation.
+  DEBUG_ONLY(void verify_states_for_handshake();)
+
   // Misc. operations
   char* name() const { return (char*)get_thread_name(); }
   void print_on(outputStream* st, bool print_extended_info) const;
   void print_on(outputStream* st) const { print_on(st, false); }
   void print_value();
< prev index next >