diff options
author | 2019-04-08 16:13:24 +0000 | |
---|---|---|
committer | 2019-04-08 16:17:19 +0000 | |
commit | c723b81ea2c34b096c1a7ab88bce23c98f6419f5 (patch) | |
tree | c3d1dc0591110c8443f948aaade8f735a23ea907 /openjdkjvmti/ti_thread.h | |
parent | d271809c58fa2c2d8021022b436f25e4d0b9acc1 (diff) |
Revert "Use RAII for preventing user-code suspensions"
This reverts commit 9c8f34448e0e2b0b0b0094d75dadc3116f5610fa.
Bug: 130150240
Reason for revert: Parent causes lock-level violations in gcstress.
Change-Id: I6c29a0d37a933ac37ab835e171750c2ae5ca0599
Diffstat (limited to 'openjdkjvmti/ti_thread.h')
-rw-r--r-- | openjdkjvmti/ti_thread.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/openjdkjvmti/ti_thread.h b/openjdkjvmti/ti_thread.h index c5443bfb9f..39f1f0725c 100644 --- a/openjdkjvmti/ti_thread.h +++ b/openjdkjvmti/ti_thread.h @@ -52,17 +52,6 @@ namespace openjdkjvmti { class EventHandler; -// Gains the user_code_suspension_lock_ and ensures that the code will not suspend for user-code. -class SCOPED_CAPABILITY ScopedNoUserCodeSuspension { - public: - explicit ScopedNoUserCodeSuspension(art::Thread* self) - ACQUIRE(art::Locks::user_code_suspension_lock_); - ~ScopedNoUserCodeSuspension() RELEASE(art::Locks::user_code_suspension_lock_); - - private: - art::Thread* self_; -}; - // The struct that we store in the art::Thread::custom_tls_ that maps the jvmtiEnvs to the data // stored with that thread. This is needed since different jvmtiEnvs are not supposed to share TLS // data but we only have a single slot in Thread objects to store data. |