test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/agent_tools.cpp
changeset 52809 7edc56620d42
parent 52215 0b0ba3a2fec9
equal deleted inserted replaced
52808:064e5795fa59 52809:7edc56620d42
    40 static jthread agentThread = NULL;
    40 static jthread agentThread = NULL;
    41 static jvmtiStartFunction agentThreadProc = NULL;
    41 static jvmtiStartFunction agentThreadProc = NULL;
    42 static void* agentThreadArg = NULL;
    42 static void* agentThreadArg = NULL;
    43 
    43 
    44 
    44 
    45 typedef enum {NEW, RUNNABLE, WAITING, SUSPENDED, TERMINATED} thread_state_t;
    45 typedef enum { NEW, RUNNABLE, WAITING, SUSPENDED, TERMINATED } thread_state_t;
    46 
    46 
    47 typedef struct agent_data_t {
    47 typedef struct agent_data_t {
    48     volatile thread_state_t thread_state;
    48     volatile thread_state_t thread_state;
    49     int last_debuggee_status;
    49     int last_debuggee_status;
    50     jrawMonitorID monitor;
    50     jrawMonitorID monitor;