8220774: Add HandshakeALot diag option

Reviewed-by: dcubed, dholmes
This commit is contained in:
Robbin Ehn 2019-03-26 12:08:51 +01:00
parent afa3178149
commit ed3542d53b
10 changed files with 171 additions and 125 deletions

View file

@ -1874,6 +1874,9 @@ class JavaThread: public Thread {
// 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;