summaryrefslogtreecommitdiff
path: root/libdexfile/dex/dex_file_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdexfile/dex/dex_file_layout.h')
-rw-r--r--libdexfile/dex/dex_file_layout.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libdexfile/dex/dex_file_layout.h b/libdexfile/dex/dex_file_layout.h
index e1ae44d31d..5fc37d107a 100644
--- a/libdexfile/dex/dex_file_layout.h
+++ b/libdexfile/dex/dex_file_layout.h
@@ -82,13 +82,8 @@ class DexLayoutSection {
end_offset_ = std::max(end_offset_, end_offset);
}
}
-
- void Madvise(const DexFile* dex_file, int advice) const;
};
- // Madvise the largest page-aligned region contained in [begin, end).
- static int MadviseLargestPageAlignedRegion(const uint8_t* begin, const uint8_t* end, int advice);
-
Subsection parts_[static_cast<size_t>(LayoutType::kLayoutTypeCount)];
};
@@ -101,10 +96,6 @@ class DexLayoutSections {
kSectionCount,
};
- // Advise load access about the dex file based on layout. The caller is expected to have already
- // madvised to MADV_RANDOM.
- void MadviseAtLoad(const DexFile* dex_file) const;
-
DexLayoutSection sections_[static_cast<size_t>(SectionType::kSectionCount)];
};