• Home
  • Raw
  • Download

Lines Matching defs:ImageInfo

279   struct ImageInfo {  struct
295 size_t GetStubOffset(StubType stub_type) const { in GetStubOffset()
300 void SetStubOffset(StubType stub_type, size_t offset) { in SetStubOffset()
305 size_t GetBinSlotOffset(Bin bin) const { in GetBinSlotOffset()
310 void IncrementBinSlotSize(Bin bin, size_t size_to_add) { in IncrementBinSlotSize()
315 size_t GetBinSlotSize(Bin bin) const { in GetBinSlotSize()
320 void IncrementBinSlotCount(Bin bin, size_t count_to_add) { in IncrementBinSlotCount()
328 MemMap image_; // Memory mapped for generating the image.
333 uint8_t* image_begin_ = nullptr;
336 size_t image_end_ = RoundUp(sizeof(ImageHeader), kObjectAlignment);
337 uint32_t image_roots_address_ = 0; // The image roots address in the image.
338 size_t image_offset_ = 0; // Offset of this image from the start of the first image.
345 size_t image_size_ = 0;
350 size_t oat_offset_ = 0;
352 const uint8_t* oat_file_begin_ = nullptr;
353 size_t oat_loaded_size_ = 0;
354 const uint8_t* oat_data_begin_ = nullptr;
355 size_t oat_size_ = 0; // Size of the corresponding oat data.
357 uint32_t oat_checksum_ = 0u;
360 gc::accounting::ContinuousSpaceBitmap image_bitmap_;
363 SafeMap<const DexFile*, size_t> dex_cache_array_starts_;
366 uint32_t stub_offsets_[kNumberOfStubTypes] = {};
369 size_t bin_slot_sizes_[kNumberOfBins] = {}; // Number of bytes in a bin.
370 size_t bin_slot_offsets_[kNumberOfBins] = {}; // Number of bytes in previous bins.
371 size_t bin_slot_count_[kNumberOfBins] = {}; // Number of objects in a bin.
374 size_t intern_table_bytes_ = 0;
377 size_t class_table_bytes_ = 0;
380 size_t object_fixup_bytes_ = 0;
383 size_t pointer_fixup_bytes_ = 0;
387 size_t num_string_references_ = 0;
390 std::vector<AppImageReferenceOffsetInfo> string_reference_offsets_;
393 size_t intern_table_size_ = 0;
394 std::unique_ptr<GcRoot<mirror::String>[]> intern_table_buffer_;
395 std::optional<InternTable::UnorderedSet> intern_table_;
398 size_t class_table_size_ = 0;
399 std::unique_ptr<ClassTable::ClassSet::value_type[]> class_table_buffer_;
400 std::optional<ClassTable::ClassSet> class_table_;
404 std::vector<size_t> padding_offsets_;