summaryrefslogtreecommitdiff
path: root/runtime/reference_table.h
diff options
context:
space:
mode:
author Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-30 15:22:45 +0000
committer Dmitrii Ishcheikin <ishcheikin@google.com> 2024-02-06 18:58:33 +0000
commit8cd02095a2a3671a8d9aae3c36fd54a9a7d0787c (patch)
tree7b5ec7f8b1fadf5e3630dcef238f46728919c95b /runtime/reference_table.h
parent074714261278039d6a99075d4dc71623f453a2c0 (diff)
Add visibility attributes in runtime/r*
Bug: 260881207 Test: presubmit Test: abtd app_compat_drm Test: abtd app_compat_top_100 Test: abtd app_compat_banking Change-Id: I9a12fe4d7c47090631415e813a00c2a2fdcaca62
Diffstat (limited to 'runtime/reference_table.h')
-rw-r--r--runtime/reference_table.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/reference_table.h b/runtime/reference_table.h
index b204533c36..6e559ca1f8 100644
--- a/runtime/reference_table.h
+++ b/runtime/reference_table.h
@@ -24,10 +24,11 @@
#include "base/allocator.h"
#include "base/locks.h"
+#include "base/macros.h"
#include "gc_root.h"
#include "obj_ptr.h"
-namespace art {
+namespace art HIDDEN {
namespace jni {
class LocalReferenceTable;
} // namespace jni
@@ -54,7 +55,7 @@ class ReferenceTable {
REQUIRES_SHARED(Locks::mutator_lock_)
REQUIRES(!Locks::alloc_tracker_lock_);
- void VisitRoots(RootVisitor* visitor, const RootInfo& root_info)
+ EXPORT void VisitRoots(RootVisitor* visitor, const RootInfo& root_info)
REQUIRES_SHARED(Locks::mutator_lock_);
private: