diff options
author | 2024-01-17 14:53:20 +0000 | |
---|---|---|
committer | 2024-01-24 22:27:01 +0000 | |
commit | f63924e44576bc46b788595865232ec28f2c0bd8 (patch) | |
tree | d646dee1367db7af7362b90e4d047c9305facdfa /runtime/class_table.h | |
parent | 1ba3516e8c3e2b86c73084893dd297f468469181 (diff) |
Add visibility attributes in runtime/c*
Bug: 260881207
Test: presubmit
Test: abtd app_compat_drm
Test: abtd app_compat_top_100
Test: abtd app_compat_banking
Change-Id: Id729aca1d8b6d003ff3e9755112f3283e9f2b507
Diffstat (limited to 'runtime/class_table.h')
-rw-r--r-- | runtime/class_table.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/class_table.h b/runtime/class_table.h index 54e066a18c..1c9b0ce2e9 100644 --- a/runtime/class_table.h +++ b/runtime/class_table.h @@ -28,7 +28,7 @@ #include "gc_root.h" #include "obj_ptr.h" -namespace art { +namespace art HIDDEN { class OatFile; @@ -153,7 +153,7 @@ class ClassTable { ClassDescriptorEquals, GcRootArenaAllocator<TableSlot, kAllocatorTagClassTable>>; - ClassTable(); + EXPORT ClassTable(); // Freeze the current class tables by allocating a new table and never updating or modifying the // existing table. This helps prevents dirty pages after caused by inserting after zygote fork. @@ -172,7 +172,7 @@ class ClassTable { REQUIRES_SHARED(Locks::mutator_lock_); // Returns the number of classes in previous snapshots no matter the defining loader. - size_t NumReferencedZygoteClasses() const + EXPORT size_t NumReferencedZygoteClasses() const REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); @@ -252,7 +252,7 @@ class ClassTable { REQUIRES_SHARED(Locks::mutator_lock_); // Read a table from ptr and put it at the front of the class set. - size_t ReadFromMemory(uint8_t* ptr) + EXPORT size_t ReadFromMemory(uint8_t* ptr) REQUIRES(!lock_) REQUIRES_SHARED(Locks::mutator_lock_); |