jitzyogte: madvise away dex files after compilation.

Tell the OS we don't need them anymore, as we now have compiled code
for it.

Bug: 119800099
Test: business card
Change-Id: Ib6f969dcc68adabad3327a3272147ee383416772
diff --git a/libartbase/base/utils.h b/libartbase/base/utils.h
index ba95331..6fc537a 100644
--- a/libartbase/base/utils.h
+++ b/libartbase/base/utils.h
@@ -154,6 +154,11 @@
 // 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);
+
 }  // namespace art
 
 #endif  // ART_LIBARTBASE_BASE_UTILS_H_