diff options
author | 2024-03-19 14:52:32 +0000 | |
---|---|---|
committer | 2024-03-26 09:44:04 +0000 | |
commit | 42646b1ef936d12c4099fbefefdc976f9dc3c976 (patch) | |
tree | c6a4bd1feccf4149654afcb4a27dea7fcc4c26db /libartbase/base/utils.h | |
parent | 832ebf45a1746c3f39e3ac1dc744582de084e43a (diff) |
Move methods used only once from utils.h to jit.cc
Bug: 329379384
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I312fa2e8f50896e6658ddc99447416050166f8e5
Diffstat (limited to 'libartbase/base/utils.h')
-rw-r--r-- | libartbase/base/utils.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libartbase/base/utils.h b/libartbase/base/utils.h index 92956bc8e9..b21401a589 100644 --- a/libartbase/base/utils.h +++ b/libartbase/base/utils.h @@ -145,14 +145,6 @@ inline void ForceRead(const T* pointer) { // there is an I/O error. std::string GetProcessStatus(const char* key); -// Return whether the address is guaranteed to be backed by a file or is shared. -// This information can be used to know whether MADV_DONTNEED will make -// following accesses repopulate the memory or return zero. -bool IsAddressKnownBackedByFileOrShared(const void* addr); - -// Returns the number of threads running. -int GetTaskCount(); - } // namespace art #endif // ART_LIBARTBASE_BASE_UTILS_H_ |