Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 25 of 156) sorted by relevance

1234567

/art/runtime/
DAndroid.mk47 gc/allocator/dlmalloc.cc \
48 gc/allocator/rosalloc.cc \
49 gc/accounting/card_table.cc \
50 gc/accounting/heap_bitmap.cc \
51 gc/accounting/mod_union_table.cc \
52 gc/accounting/remembered_set.cc \
53 gc/accounting/space_bitmap.cc \
54 gc/collector/concurrent_copying.cc \
55 gc/collector/garbage_collector.cc \
56 gc/collector/immune_region.cc \
[all …]
Dparsed_options.cc107 static gc::CollectorType ParseCollectorType(const std::string& option) { in ParseCollectorType()
109 return gc::kCollectorTypeMS; in ParseCollectorType()
111 return gc::kCollectorTypeCMS; in ParseCollectorType()
113 return gc::kCollectorTypeSS; in ParseCollectorType()
115 return gc::kCollectorTypeGSS; in ParseCollectorType()
117 return gc::kCollectorTypeCC; in ParseCollectorType()
119 return gc::kCollectorTypeMC; in ParseCollectorType()
121 return gc::kCollectorTypeNone; in ParseCollectorType()
129 gc::CollectorType collector_type = ParseCollectorType(gc_option); in ParseXGcOption()
130 if (collector_type != gc::kCollectorTypeNone) { in ParseXGcOption()
[all …]
/art/test/079-phantom/src/
DMain.java41 Runtime.getRuntime().gc(); in run()
48 Runtime.getRuntime().gc(); in run()
53 Runtime.getRuntime().gc(); in run()
58 Runtime.getRuntime().gc(); in run()
63 Runtime.getRuntime().gc(); in run()
/art/runtime/gc/accounting/
Dcard_table_test.cc38 std::unique_ptr<gc::accounting::CardTable> card_table_;
39 static constexpr size_t kCardSize = gc::accounting::CardTable::kCardSize;
43 card_table_.reset(gc::accounting::CardTable::Create(heap_begin_, heap_size_)); in CommonSetup()
82 EXPECT_EQ(card_table_->GetCard(obj), gc::accounting::CardTable::kCardClean); in TEST_F()
86 EXPECT_EQ(card_table_->GetCard(obj), gc::accounting::CardTable::kCardDirty); in TEST_F()
88 EXPECT_EQ(*card_addr, gc::accounting::CardTable::kCardDirty); in TEST_F()
89 *card_addr = gc::accounting::CardTable::kCardClean; in TEST_F()
90 EXPECT_EQ(*card_addr, gc::accounting::CardTable::kCardClean); in TEST_F()
Dheap_bitmap.h26 namespace gc {
80 friend class art::gc::Heap;
/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.cc108 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(DlMalloc, gc::kAllocatorTypeDlMalloc)
109 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(RosAlloc, gc::kAllocatorTypeRosAlloc)
110 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(BumpPointer, gc::kAllocatorTypeBumpPointer)
111 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(TLAB, gc::kAllocatorTypeTLAB)
165 static gc::AllocatorType entry_points_allocator = gc::kAllocatorTypeDlMalloc;
167 void SetQuickAllocEntryPointsAllocator(gc::AllocatorType allocator) { in SetQuickAllocEntryPointsAllocator()
178 case gc::kAllocatorTypeDlMalloc: { in ResetQuickAllocEntryPoints()
182 case gc::kAllocatorTypeRosAlloc: { in ResetQuickAllocEntryPoints()
186 case gc::kAllocatorTypeBumpPointer: { in ResetQuickAllocEntryPoints()
191 case gc::kAllocatorTypeTLAB: { in ResetQuickAllocEntryPoints()
Dquick_alloc_entrypoints.h25 namespace gc {
36 void SetQuickAllocEntryPointsAllocator(gc::AllocatorType allocator)
/art/runtime/entrypoints/portable/
Dportable_alloc_entrypoints.cc23 static constexpr gc::AllocatorType kPortableAllocatorType =
24 gc::kUseRosAlloc ? gc::kAllocatorTypeRosAlloc : gc::kAllocatorTypeDlMalloc;
/art/test/401-optimizing-compiler/src/
DMain.java191 Runtime.getRuntime().gc(); in forceGCStaticMethod()
192 Runtime.getRuntime().gc(); in forceGCStaticMethod()
193 Runtime.getRuntime().gc(); in forceGCStaticMethod()
194 Runtime.getRuntime().gc(); in forceGCStaticMethod()
195 Runtime.getRuntime().gc(); in forceGCStaticMethod()
196 Runtime.getRuntime().gc(); in forceGCStaticMethod()
/art/test/003-omnibus-opcodes/src/
DInternedString.java37 Runtime.getRuntime().gc(); in testDeadInternedString()
44 Runtime.getRuntime().gc(); in testImmortalInternedString()
56 Runtime.getRuntime().gc(); in testImmortalInternedString()
/art/runtime/entrypoints/
Dentrypoint_utils.h62 gc::AllocatorType allocator_type)
70gc::AllocatorType allocator_type)
78gc::AllocatorType allocator_type)
98 gc::AllocatorType allocator_type)
106gc::AllocatorType allocator_type)
112 gc::AllocatorType allocator_type)
119 gc::AllocatorType allocator_type)
/art/test/036-finalizer/
Dexpected.txt2 gc
10 gc + finalize
/art/test/030-bad-finalizer/src/
DMain.java26 Runtime.getRuntime().gc(); in main()
30 Runtime.getRuntime().gc(); in main()
/art/runtime/native/
Ddalvik_system_VMDebug.cc250 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass()
282 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats()
283 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in VMDebug_getHeapSpaceStats()
287 gc::space::ZygoteSpace* zygote_space = space->AsZygoteSpace(); in VMDebug_getHeapSpaceStats()
292 gc::space::MallocSpace* malloc_space = space->AsMallocSpace(); in VMDebug_getHeapSpaceStats()
297 gc::space::BumpPointerSpace* bump_pointer_space = space->AsBumpPointerSpace(); in VMDebug_getHeapSpaceStats()
302 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) { in VMDebug_getHeapSpaceStats()
/art/test/036-finalizer/src/
DMain.java99 Runtime.getRuntime().gc(); in main()
112 Runtime.getRuntime().gc(); in main()
115 System.gc(); in main()
/art/runtime/gc/space/
Drosalloc_space.cc32 namespace gc { namespace
45 art::gc::allocator::RosAlloc* rosalloc, byte* begin, byte* end, in RosAllocSpace()
133 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( in CreateRosAlloc()
136 art::gc::allocator::RosAlloc::kPageReleaseModeAll : in CreateRosAlloc()
137 art::gc::allocator::RosAlloc::kPageReleaseModeSizeAndEnd); in CreateRosAlloc()
280 InspectAllRosAlloc(art::gc::allocator::RosAlloc::BytesAllocatedCallback, &bytes_allocated, false); in GetBytesAllocated()
286 …InspectAllRosAlloc(art::gc::allocator::RosAlloc::ObjectsAllocatedCallback, &objects_allocated, fal… in GetObjectsAllocated()
/art/runtime/mirror/
Dreference.h29 namespace gc {
120 friend class gc::ReferenceProcessor;
121 friend class gc::ReferenceQueue;
/art/test/067-preemptive-unpark/src/
DMain.java20 System.gc(); in main()
22 System.gc(); in main()
/art/patchoat/
Dpatchoat.h64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, in PatchOat()
69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, in PatchOat()
146 gc::accounting::ContinuousSpaceBitmap* bitmap_;
/art/build/
DAndroid.gtest.mk96 runtime/gc/accounting/card_table_test.cc \
97 runtime/gc/accounting/space_bitmap_test.cc \
98 runtime/gc/heap_test.cc \
99 runtime/gc/space/dlmalloc_space_base_test.cc \
100 runtime/gc/space/dlmalloc_space_static_test.cc \
101 runtime/gc/space/dlmalloc_space_random_test.cc \
102 runtime/gc/space/rosalloc_space_base_test.cc \
103 runtime/gc/space/rosalloc_space_static_test.cc \
104 runtime/gc/space/rosalloc_space_random_test.cc \
105 runtime/gc/space/large_object_space_test.cc \
/art/compiler/
Dimage_test.cc119 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
121 gc::space::ContinuousSpace* space = heap->GetNonMovingSpace(); in TEST_F()
165 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
169 gc::space::ImageSpace* image_space = heap->GetImageSpace(); in TEST_F()
/art/runtime/gc/collector/
Dconcurrent_copying.cc20 namespace gc { namespace
/art/test/067-preemptive-unpark/
Dinfo.txt1 Test that Unsafe.unpark() operates as expected, in particular across a gc.
/art/runtime/gc/
Dreference_processor-inl.h23 namespace gc {
Dallocator_type.h21 namespace gc {

1234567