Searched defs:table (Results 1 - 25 of 25) sorted by relevance

/art/compiler/dex/
H A Ddex_to_dex_decompiler_test.cc101 ArrayRef<const uint8_t> table; local
103 table = compiled_method->GetVmapTable();
106 *it.GetMethodCodeItem(), table, /* decompile_return_instruction */ true);
113 ArrayRef<const uint8_t> table; local
115 table = compiled_method->GetVmapTable();
118 *it.GetMethodCodeItem(), table, /* decompile_return_instruction */ true);
/art/runtime/
H A Dimage-inl.h74 auto* table = reinterpret_cast<ImtConflictTable*>(base + section.Offset() + pos); local
75 table->Visit([&visitor](const std::pair<ArtMethod*, ArtMethod*>& methods) {
78 pos += table->ComputeSize(pointer_size);
H A Dclass_table_test.cc84 ClassTable table; local
85 EXPECT_EQ(table.NumZygoteClasses(class_loader.Get()), 0u);
86 EXPECT_EQ(table.NumNonZygoteClasses(class_loader.Get()), 0u);
88 // Add h_X to the class table.
89 table.Insert(h_X.Get());
90 EXPECT_EQ(table.LookupByDescriptor(h_X.Get()), h_X.Get());
91 EXPECT_EQ(table.Lookup(descriptor_x, ComputeModifiedUtf8Hash(descriptor_x)), h_X.Get());
92 EXPECT_EQ(table.Lookup("NOT_THERE", ComputeModifiedUtf8Hash("NOT_THERE")), nullptr);
93 EXPECT_EQ(table.NumZygoteClasses(class_loader.Get()), 0u);
94 EXPECT_EQ(table
[all...]
H A Dimt_conflict_table.h30 // Table to resolve IMT conflicts at runtime. The table is attached to
32 // The table contains a list of pairs of { interface_method, implementation_method }
43 // Build a new table copying `other` and adding the new entry formed of
149 // Compute the number of entries in this table.
158 // Compute the size in bytes taken by this table.
164 // Compute the size in bytes needed for copying the given `table` and add
166 static size_t ComputeSizeWithOneMoreEntry(ImtConflictTable* table, PointerSize pointer_size) { argument
167 return table->ComputeSize(pointer_size) + EntrySize(pointer_size);
H A Dmapping_table.h25 // A utility for processing the raw uleb128 encoded mapping table created by the quick compiler.
32 const uint8_t* table = encoded_table_; variable
33 if (table == nullptr) {
36 return DecodeUnsignedLeb128(&table);
41 const uint8_t* table = encoded_table_; variable
42 if (table == nullptr) {
45 uint32_t total_size = DecodeUnsignedLeb128(&table);
46 uint32_t pc_to_dex_size = DecodeUnsignedLeb128(&table);
52 const uint8_t* table = encoded_table_; local
53 if (table !
68 DexToPcIterator(const MappingTable* table, uint32_t element) argument
124 const uint8_t* table = encoded_table_; variable
128 DecodeUnsignedLeb128(&table); // Total_size, unused. variable
135 const uint8_t* table = encoded_table_; local
145 PcToDexIterator(const MappingTable* table, uint32_t element) argument
[all...]
H A Dbytecode_utils.h63 const uint16_t* table = reinterpret_cast<const uint16_t*>(&instruction) + table_offset; local
64 DCHECK_EQ(table[0], sparse_ ? static_cast<uint16_t>(Instruction::kSparseSwitchSignature)
66 num_entries_ = table[1];
67 values_ = reinterpret_cast<const int32_t*>(&table[2]);
76 // In a sparse table, we have num_entries_ keys and num_entries_ values, in that order.
79 // In a packed table, we have the starting key and num_entries_ values.
96 // Index of the first value in the table.
99 // In a sparse table, we have num_entries_ keys and num_entries_ values, in that order.
102 // In a packed table, we have the starting key and num_entries_ values.
117 // Whether this is a sparse-switch table (o
135 DexSwitchTableIterator(const DexSwitchTable& table) argument
[all...]
H A Dindirect_reference_table.cc75 table_mem_map_.reset(MemMap::MapAnonymous("indirect ref table", nullptr, table_bytes,
78 *error_msg = "Unable to map memory for indirect ref table";
130 // are usually near the end of the table (see the header, TODO: verify this assumption). To avoid
160 static size_t CountNullEntries(const IrtEntry* table, size_t from, size_t to) { argument
163 if (table[index].GetReference()->IsNull()) {
192 static inline void CheckHoleCount(IrtEntry* table, argument
197 size_t count = CountNullEntries(table, prev_state.top_index, cur_state.top_index);
207 std::unique_ptr<MemMap> new_map(MemMap::MapAnonymous("indirect ref table",
243 LOG(FATAL) << "JNI ERROR (app bug): " << kind_ << " table overflow "
252 LOG(FATAL) << "JNI ERROR (app bug): " << kind_ << " table overflo
[all...]
H A Dart_method.h443 ALWAYS_INLINE void SetImtConflictTable(ImtConflictTable* table, PointerSize pointer_size) { argument
445 SetDataPtrSize(table, pointer_size);
690 // Entry within a dispatch table for this method. For static/direct methods the index is into
H A Dclass_linker.cc1136 explicit VerifyClassInTableArtMethodVisitor(ClassTable* table) : table_(table) {} argument
1238 // Add image classes into the class table for the class loader, and fixup the dex caches and
1863 // If we have a class table section, read it and use it for verification in
1874 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2);
1910 // Insert oat file to class table for visiting .bss GC roots.
1919 // Since it ensures classes are in the class table.
1922 // Verify that all direct interfaces of classes in the class table are also resolved.
1926 // Check that all non-primitive classes in dex caches are also in the class table.
1972 // class which is in the class table
3454 ClassTable* table; local
5334 ClassTable* const table = InsertClassTableForClassLoader(class_loader); local
6505 ImtConflictTable* table = imt[imt_index]->GetImtConflictTable(image_pointer_size_); local
8798 ClassTable* const table = ClassTableForClassLoader(class_loader.Ptr()); local
[all...]
/art/tools/ahat/src/
H A DDoc.java51 * Start a table with the given columns.
55 * This should be followed by calls to the 'row' method to fill in the table
56 * contents and the 'end' method to end the table.
58 void table(Column... columns); method in interface:Doc
61 * Start a table with the following heading structure:
68 * This should be followed by calls to the 'row' method to fill in the table
69 * contents and the 'end' method to end the table.
71 void table(DocString description, List<Column> subcols, List<Column> cols); method in interface:Doc
74 * Add a row to the currently active table.
76 * currently active table
[all...]
H A DHtmlDoc.java81 public void table(Column... columns) { method in class:HtmlDoc
87 ps.println("<table>");
102 public void table(DocString description, List<Column> subcols, List<Column> cols) { method in class:HtmlDoc
118 ps.println("<table>");
147 throw new IllegalStateException("table method must be called before row");
171 ps.println("<table>");
181 ps.println("</table>");
/art/compiler/driver/
H A Dcompiled_method_storage.cc177 dedupe_vmap_table_("dedupe vmap table",
196 os << "\nVmap table dedupe: " << dedupe_vmap_table_.DumpStats(self);
220 const ArrayRef<const uint8_t>& table) {
221 return AllocateOrDeduplicateArray(table, &dedupe_vmap_table_);
224 void CompiledMethodStorage::ReleaseVMapTable(const LengthPrefixedArray<uint8_t>* table) { argument
225 ReleaseArrayIfNotDeduplicated(table);
219 DeduplicateVMapTable( const ArrayRef<const uint8_t>& table) argument
/art/runtime/gc/collector/
H A Dmark_compact.cc175 // Clear the whole card table since we cannot get any additional dirty cards during the
214 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); local
215 if (table != nullptr) {
220 table->UpdateAndMarkReferences(this);
350 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); local
351 if (table != nullptr) {
357 table->UpdateAndMarkReferences(this);
359 // No mod union table, so we need to scan the space using bitmap visit.
H A Dsemi_space.cc231 // Clear the whole card table since we cannot get any additional dirty cards during the
341 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); local
342 if (table != nullptr) {
348 table->UpdateAndMarkReferences(this);
352 // If the space has no mod union table (the non-moving space, app image spaces, main spaces
383 // card table) didn't miss any from-space references in the
H A Dconcurrent_copying.cc51 // union table. Disabled since it does not seem to help the pause much.
105 "The region space size and the read barrier table region size must match");
605 accounting::ModUnionTable* table = heap->FindModUnionTableFromSpace(space); local
610 if (table != nullptr) {
612 table->ProcessCards();
613 table->VisitObjects(GrayImmuneObjectVisitor::Callback, &visitor);
614 // Since the cards are recorded in the mod-union table and this is paused, we can clear
698 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); local
700 if (kUseBakerReadBarrier && kGrayDirtyImmuneObjects && table != nullptr) {
701 table
2496 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); local
[all...]
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc285 explicit PreloadDexCachesStringsVisitor(StringTable* table) : table_(table) { } argument
/art/runtime/mirror/
H A Dclass.cc179 // so that they can grab the new version of the class from the class linker's table.
1012 PointerArray* table = GetVTableDuringLinking(); local
1013 CHECK(table != nullptr) << PrettyClass();
1014 const size_t table_length = table->GetLength();
1017 SetEmbeddedVTableEntry(i, table->GetElementPtrSize<ArtMethod*>(i, pointer_size), pointer_size);
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc2250 HandleScope* table = reinterpret_cast<HandleScope*>(reinterpret_cast<uint8_t*>(sp) + sizeof(*sp)); local
2251 return GenericJniMethodEnd(self, cookie, result, result_f, called, table);
2446 // We create a new table with the new pair { interface_method, method }.
/art/compiler/
H A Dimage_writer.cc556 // Add non-embedded vtable to the pointer array table if there is one.
748 // Circular dependencies, return false but do not store the result in the memoization table.
957 // Check that the class is still in the classes table.
960 << Class::PrettyClass(declaring_class) << " not in class linker table";
1045 // Clear class table strong roots so that dex caches can get pruned. We require pruning the class
1123 // If we found it in the runtime intern table it could either be in the boot image or interned
1241 // Not in another image space, insert to our table.
1357 // Register the class loader if it has a class table.
1367 // image_info.class_table_ table is only accessed from the image writer
1394 // If the method is a conflict method we also want to assign the conflict table offse
1407 TryAssignConflictTableOffset(ImtConflictTable* table, size_t oat_index) argument
2011 ClassTable* table = image_info.class_table_.get(); local
[all...]
/art/runtime/gc/space/
H A Dimage_space.cc1086 ImtConflictTable* table = method->GetImtConflictTable(pointer_size_); variable
1087 if (table != nullptr) {
1088 ImtConflictTable* new_table = ForwardObject(table);
1089 if (table != new_table) {
/art/compiler/utils/arm/
H A Dassembler_thumb2.cc117 for (JumpTable& table : jump_tables_) {
118 Label* label = table.GetLabel();
120 code_size += table.GetSize();
196 for (JumpTable& table : jump_tables_) {
197 Label* label = table.GetLabel();
267 for (JumpTable& table : jump_tables_) {
270 size_t required_capacity = orig_size + table.GetSize();
278 DCHECK_EQ(static_cast<size_t>(table.GetLabel()->Position()), buffer_.Size());
279 int32_t anchor_position = table.GetAnchorLabel()->Position() + 4;
281 for (Label* target : table
4001 JumpTable* table = &jump_tables_.back(); local
[all...]
/art/compiler/utils/mips/
H A Dassembler_mips.cc2604 JumpTable* table = &jump_tables_.back(); local
2605 DCHECK(!table->GetLabel()->IsBound());
2606 return table;
2627 for (JumpTable& table : jump_tables_) {
2628 MipsLabel* label = table.GetLabel();
2633 size_t required_capacity = orig_size + table.GetSize();
2644 for (size_t cnt = table.GetData().size(), i = 0; i < cnt; i++) {
2662 for (JumpTable& table : jump_tables_) {
2663 MipsLabel* table_label = table.GetLabel();
2667 for (MipsLabel* target : table
[all...]
/art/compiler/utils/mips64/
H A Dassembler_mips64.cc2280 JumpTable* table = &jump_tables_.back(); local
2281 DCHECK(!table->GetLabel()->IsBound());
2282 return table;
2287 for (JumpTable& table : jump_tables_) {
2288 Mips64Label* label = table.GetLabel();
2293 size_t required_capacity = orig_size + table.GetSize();
2304 for (size_t cnt = table.GetData().size(), i = 0; i < cnt; i++) {
2322 for (JumpTable& table : jump_tables_) {
2323 Mips64Label* table_label = table.GetLabel();
2327 for (Mips64Label* target : table
[all...]
/art/oatdump/
H A Doatdump.cc938 // Print lookup table, if it exists.
943 os << StringPrintf("type-table: 0x%08x..0x%08x\n",
1237 "vmap table offset 0x%08x is past end of file 0x%08zx. "
1238 "vmap table offset was loaded from offset 0x%08x.\n",
1360 // The optimizing compiler outputs its CodeInfo data in the vmap table.
1370 // We don't encode the size in the table, so just emit that we have quickened
1464 // null, and the vmap table is not null, then this method has been compiled
1596 // The optimizing compiler outputs its CodeInfo data in the vmap table.
1945 // Intern table is 8-byte aligned.
1950 // Add space between intern table an
2307 ImtConflictTable* table = method->GetImtConflictTable(image_header_.GetPointerSize()); local
2309 indent_os << "IMT conflict table " << table << " method: "; local
[all...]
/art/runtime/gc/
H A Dheap.cc444 // TODO: Place bump-pointer spaces somewhere to minimize size of card table.
512 // Allocate the card table.
513 // We currently don't support dynamically resizing the card table.
514 // Since we don't know where in the low_4gb the app image will be located, make the card table
515 // cover the whole low_4gb. TODO: Extend the card table in AddSpace.
522 CHECK(card_table_.get() != nullptr) << "Failed to create card table";
528 // Don't add the image mod union table if we are running without an image, this can crash if
532 "Image mod-union table", this, image_space);
533 CHECK(mod_union_table != nullptr) << "Failed to create image mod-union table";
1397 // Trim globals indirect reference table
2565 accounting::ModUnionTable* table = pair.second; local
3320 accounting::ModUnionTable* table = FindModUnionTableFromSpace(space); local
[all...]

Completed in 354 milliseconds