diff options
Diffstat (limited to 'openjdkjvmti/art_jvmti.h')
-rw-r--r-- | openjdkjvmti/art_jvmti.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openjdkjvmti/art_jvmti.h b/openjdkjvmti/art_jvmti.h index 1218e3b9a7..7433e54eda 100644 --- a/openjdkjvmti/art_jvmti.h +++ b/openjdkjvmti/art_jvmti.h @@ -102,6 +102,10 @@ struct ArtJvmTiEnv : public jvmtiEnv { // RW lock to protect access to all of the event data. art::ReaderWriterMutex event_info_mutex_ DEFAULT_MUTEX_ACQUIRED_AFTER; + std::string last_error_ GUARDED_BY(last_error_mutex_); + // Lock to touch the last-error-message. + art::Mutex last_error_mutex_ BOTTOM_MUTEX_ACQUIRED_AFTER; + ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint ti_version); static ArtJvmTiEnv* AsArtJvmTiEnv(jvmtiEnv* env) { |