diff options
Diffstat (limited to 'runtime/openjdkjvmti/ti_thread.h')
-rw-r--r-- | runtime/openjdkjvmti/ti_thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/openjdkjvmti/ti_thread.h b/runtime/openjdkjvmti/ti_thread.h index 57967eb219..d07dc0682b 100644 --- a/runtime/openjdkjvmti/ti_thread.h +++ b/runtime/openjdkjvmti/ti_thread.h @@ -54,6 +54,9 @@ class ThreadUtil { // To be called when it is safe to cache data. static void CacheData(); + // Handle a jvmtiEnv going away. + static void RemoveEnvironment(jvmtiEnv* env); + static jvmtiError GetAllThreads(jvmtiEnv* env, jint* threads_count_ptr, jthread** threads_ptr); static jvmtiError GetCurrentThread(jvmtiEnv* env, jthread* thread_ptr); |