diff options
Diffstat (limited to 'runtime/utils.h')
-rw-r--r-- | runtime/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/utils.h b/runtime/utils.h index f1f55766d6..739681d446 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -338,6 +338,9 @@ inline static int32_t Signum(T opnd) { return (opnd < 0) ? -1 : ((opnd == 0) ? 0 : 1); } +// Madvise the largest page aligned region within begin and end. +int MadviseLargestPageAlignedRegion(const uint8_t* begin, const uint8_t* end, int advice); + } // namespace art #endif // ART_RUNTIME_UTILS_H_ |