Remove unneeded mutator_lock_ requires from fixed_up_dex_file
The REQUIRES_SHARED(art::Locks::mutator_lock_) is not required for the
FixedUpDexFile functions. Remove them to allow callers to avoid a
possible suspend point.
Test: Build
Change-Id: Id8e47f45026168f04be5df795766f6cfb5a69a16
diff --git a/openjdkjvmti/fixed_up_dex_file.h b/openjdkjvmti/fixed_up_dex_file.h
index 7f05a29..594e8a7 100644
--- a/openjdkjvmti/fixed_up_dex_file.h
+++ b/openjdkjvmti/fixed_up_dex_file.h
@@ -50,8 +50,7 @@
class FixedUpDexFile {
public:
static std::unique_ptr<FixedUpDexFile> Create(const art::DexFile& original,
- const char* descriptor)
- REQUIRES_SHARED(art::Locks::mutator_lock_);
+ const char* descriptor);
const art::DexFile& GetDexFile() {
return *dex_file_;