Lines Matching full:interval
42 using Interval = std::tuple</*start*/uintptr_t, /*end*/uintptr_t, /*is_heap*/bool>;
43 std::vector<Interval> intervals;
57 intervals.push_back(Interval(reinterpret_cast<uintptr_t>(image_oat_file->Begin()),
62 intervals.push_back(Interval(space_begin, space_end, /*is_heap*/true));
65 // Intervals are already sorted by begin, if a new interval begins at the end of the current
66 // region then we append, otherwise we restart the current interval. To prevent starting an
67 // interval on an oat file, ignore oat files that are not extending an existing interval.
68 // If the total number of image bytes in the current interval is larger than the current best
70 for (const Interval& interval : intervals) {
71 const uintptr_t begin = std::get<0>(interval);
72 const uintptr_t end = std::get<1>(interval);
73 const bool is_heap = std::get<2>(interval);
74 VLOG(collector) << "Interval " << reinterpret_cast<const void*>(begin) << "-"
78 // New interval is not at the end of the current one, start a new interval if we are a heap
79 // interval. Otherwise continue since we never start a new region with non image intervals.