summaryrefslogtreecommitdiff
path: root/runtime/javaheapprof/javaheapsampler.cc
diff options
context:
space:
mode:
author Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-24 15:28:12 +0000
committer Dmitrii Ishcheikin <ishcheikin@google.com> 2024-01-24 18:04:11 +0000
commitc5266fbb0f9b0be10c92f82a6b78d50715e80e30 (patch)
tree56af7327a0df025508b85c07d3e842840a67618f /runtime/javaheapprof/javaheapsampler.cc
parenta7c77b389f6705a53250f2076f294e7e888fa911 (diff)
Add visibility attributes in runtime/j*
Bug: 260881207 Test: presubmit Test: abtd app_compat_drm Test: abtd app_compat_top_100 Test: abtd app_compat_banking Change-Id: I3edb48d24aac0da006ffd2d634ede22045880a8c
Diffstat (limited to 'runtime/javaheapprof/javaheapsampler.cc')
-rw-r--r--runtime/javaheapprof/javaheapsampler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/javaheapprof/javaheapsampler.cc b/runtime/javaheapprof/javaheapsampler.cc
index 74671347c7..959934bedf 100644
--- a/runtime/javaheapprof/javaheapsampler.cc
+++ b/runtime/javaheapprof/javaheapsampler.cc
@@ -23,7 +23,7 @@
#endif
#include "runtime.h"
-namespace art {
+namespace art HIDDEN {
size_t HeapSampler::NextGeoDistRandSample() {
// Make sure that rng_ and geo_dist are thread safe by acquiring a lock to access.