Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 34) sorted by relevance

12

/art/tools/amm/
DREADME.md3 The goal of the actionable memory metric (AMM) is to provide a view of an
4 application's memory use that application developers can track, understand,
8 There are two components of the actionable memory metric:
13 categories of memory use. Each model contributes to the value and actionable
16 See models/ for a list of models proposed for the actionable memory metric.
/art/test/669-moveable-string-class-equals/src/
DMain.java60 memory[allocationIndex] = new Object[1024 / 4]; in allocateAtLeast1KiB()
62 if (allocationIndex == memory.length) { in allocateAtLeast1KiB()
80 public static Object[] memory = new Object[4096]; field in Main
/art/test/163-app-image-methods/src/
DMain.java28 Object memory = eatAllMemory(); in main() local
51 boolean memoryWasAllocated = (memory != null); in main()
52 memory = null; in main()
/art/runtime/gc/collector/
Dimmune_spaces_test.cc214 uint8_t* memory = GetContinuousMemoryRegion(kImageSize + kImageOatSize + kOtherSpaceSize); in TEST_F() local
216 std::unique_ptr<DummyImageSpace> image_space(CreateImageSpace(memory, in TEST_F()
218 memory + kImageSize, in TEST_F()
265 uint8_t* memory = GetContinuousMemoryRegion(kMemorySize); in TEST_F() local
266 uint8_t* space1_begin = memory; in TEST_F()
267 memory += kImage1Size; in TEST_F()
268 uint8_t* space2_begin = memory; in TEST_F()
269 memory += kImage2Size; in TEST_F()
270 uint8_t* space1_oat_begin = memory; in TEST_F()
271 memory += kImage1OatSize; in TEST_F()
[all …]
/art/test/071-dexfile-map-clean/
Dinfo.txt9 * The dex file is memory-mapped file-backed as clean memory
/art/cmdline/
Dmemory_representation.h62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) {
63 return stream << memory.Value << '*' << kDivisor;
/art/test/080-oom-throw/src/
DMain.java157 Object memory = eatAllMemory(); in triggerReflectionOOM2() local
165 boolean memoryWasAllocated = (memory != null); in triggerReflectionOOM2()
166 memory = null; in triggerReflectionOOM2()
/art/test/163-app-image-methods/
Dexpected.txt1 Eating all memory.
/art/test/159-app-image-fields/
Dexpected.txt1 Eating all memory.
/art/test/1940-ddms-ext/
Dinfo.txt1 Tests the jvmti-extension to get allocated memory snapshot.
/art/test/1900-track-alloc/
Dinfo.txt1 Tests the jvmti-extension to get allocated memory snapshot.
/art/test/074-gc-thrash/
Dinfo.txt1 This thrashes the memory allocator and garbage collector for a brief period.
/art/runtime/interpreter/
Dshadow_frame.h61 uint8_t* memory = new uint8_t[ComputeSize(num_vregs)]; in CreateDeoptimizedFrame() local
62 return CreateShadowFrameImpl(num_vregs, link, method, dex_pc, memory); in CreateDeoptimizedFrame()
68 uint8_t* memory = reinterpret_cast<uint8_t*>(sf); in DeleteDeoptimizedFrame() local
69 delete[] memory; in DeleteDeoptimizedFrame()
340 void* memory) { in CreateShadowFrameImpl() argument
341 return new (memory) ShadowFrame(num_vregs, link, method, dex_pc, true); in CreateShadowFrameImpl()
/art/test/476-checker-ctor-memory-barrier/
Dinfo.txt1 Tests if we add memory barriers on constructors when needed (i.e when the
/art/tools/amm/models/
DSoCode.md3 The value of the Shared Native Code model is the sum of the virtual memory
14 native library that loads 36 KB worth of memory regions, `BaseClassLoader` will
DGraphics.md3 There are three components to the graphics model, each modeling EGL memory
DDexCode.md6 this can be approximated as the virtual size of the corresponding memory
/art/test/949-in-memory-transform/
Dinfo.txt4 an in-memory dex file (i.e. loaded from an InMemoryDexClassLoader).
/art/test/080-oom-throw/
Dinfo.txt1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
/art/openjdkjvmti/
DREADME.md6 state of the program by modifying dex files in memory and performing other
/art/compiler/optimizing/
Dstack_map_test.cc62 void* memory = allocator.Alloc(size, kArenaAllocMisc); in TEST() local
63 MemoryRegion region(memory, size); in TEST()
176 void* memory = allocator.Alloc(size, kArenaAllocMisc); in TEST() local
177 MemoryRegion region(memory, size); in TEST()
437 void* memory = allocator.Alloc(size, kArenaAllocMisc); in TEST() local
438 MemoryRegion region(memory, size); in TEST()
524 void* memory = allocator.Alloc(size, kArenaAllocMisc); in TEST() local
525 MemoryRegion region(memory, size); in TEST()
617 void* memory = allocator.Alloc(size, kArenaAllocMisc); in TEST() local
618 MemoryRegion region(memory, size); in TEST()
[all …]
/art/runtime/jit/
Djit.cc476 void** memory = nullptr; in MaybeDoOnStackReplacement() local
518 memory = reinterpret_cast<void**>(malloc(frame_size)); in MaybeDoOnStackReplacement()
519 CHECK(memory != nullptr); in MaybeDoOnStackReplacement()
520 memset(memory, 0, frame_size); in MaybeDoOnStackReplacement()
523 memory[0] = method; in MaybeDoOnStackReplacement()
552 (reinterpret_cast<int32_t*>(memory))[slot_offset / sizeof(int32_t)] = vreg_value; in MaybeDoOnStackReplacement()
567 (*art_quick_osr_stub)(memory, in MaybeDoOnStackReplacement()
579 free(memory); in MaybeDoOnStackReplacement()
/art/runtime/verifier/
Dregister_line-inl.h191 void* memory = verifier->GetScopedAllocator().Alloc(ComputeSize(num_regs)); in Create() local
192 return new (memory) RegisterLine(num_regs, verifier); in Create()
/art/tools/titrace/
Dtitrace.cc92 explicit MethodBytecode(jvmtiEnv* env, unsigned char* memory, jint size) in MethodBytecode()
93 : bytecode_(env, memory, static_cast<size_t>(size)) { in MethodBytecode()
/art/tools/runtime_memusage/
DREADME4 These set of executables are useful for condensing large amounts of memory reads
19 In addition, when poisoned sections of memory are accesses, their stack trace is

12