diff options
author | 2024-06-24 08:02:27 +0000 | |
---|---|---|
committer | 2024-06-24 16:03:27 +0000 | |
commit | b63adc919ba9a53f4fbad476356c702845821149 (patch) | |
tree | 8d286560ebaa6959ea90d68a06cea67c68196ebc /runtime/jit/jit_code_cache-inl.h | |
parent | 6a4404c7108ffe5cb3f63d1cfd01341c4ab8b189 (diff) |
Revert^3 "x86_64: Add JIT support for LoadMethodType."
This reverts commit d92a43f4310e2d634d6e8f24103fc1e27557d784.
Reason for revert: Failing 979-const-method-handle
https://ci.chromium.org/ui/p/art/builders/ci/host-x86_64-cms/10095/overview
Change-Id: I9b44d8cc66e98db074edfa90ce2ebab087e4b115
Diffstat (limited to 'runtime/jit/jit_code_cache-inl.h')
-rw-r--r-- | runtime/jit/jit_code_cache-inl.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/runtime/jit/jit_code_cache-inl.h b/runtime/jit/jit_code_cache-inl.h deleted file mode 100644 index 5d5354a087..0000000000 --- a/runtime/jit/jit_code_cache-inl.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2024 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ART_RUNTIME_JIT_JIT_CODE_CACHE_INL_H_ -#define ART_RUNTIME_JIT_JIT_CODE_CACHE_INL_H_ - -#include "gc_root.h" -#include "jit/jit_code_cache.h" -#include "thread.h" - -namespace art HIDDEN { - -class ArtMethod; - -namespace jit { - -template<typename RootVisitorType> -EXPORT void JitCodeCache::VisitRootTables(RootVisitorType& visitor) { - Thread* self = Thread::Current(); - ScopedDebugDisallowReadBarriers sddrb(self); - MutexLock mu(self, *Locks::jit_lock_); - - for (auto& [_, method_types] : method_types_map_) { - for (auto& method_type : method_types) { - visitor.VisitRoot(method_type.AddressWithoutBarrier()); - } - } -} - -} // namespace jit -} // namespace art - -#endif // ART_RUNTIME_JIT_JIT_CODE_CACHE_INL_H_ - - |