Home
last modified time | relevance | path

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

123

/art/test/061-out-of-memory/
DAndroid.bp3 // Build rules for ART run-test `061-out-of-memory`.
16 name: "art-run-test-061-out-of-memory",
21 ":art-run-test-061-out-of-memory-expected-stdout",
22 ":art-run-test-061-out-of-memory-expected-stderr",
28 name: "art-run-test-061-out-of-memory-expected-stdout",
29 out: ["art-run-test-061-out-of-memory-expected-stdout.txt"],
36 name: "art-run-test-061-out-of-memory-expected-stderr",
37 out: ["art-run-test-061-out-of-memory-expected-stderr.txt"],
/art/test/949-in-memory-transform/
DAndroid.bp3 // Build rules for ART run-test `949-in-memory-transform`.
16 name: "art-run-test-949-in-memory-transform",
21 ":art-run-test-949-in-memory-transform-expected-stdout",
22 ":art-run-test-949-in-memory-transform-expected-stderr",
28 name: "art-run-test-949-in-memory-transform-expected-stdout",
29 out: ["art-run-test-949-in-memory-transform-expected-stdout.txt"],
36 name: "art-run-test-949-in-memory-transform-expected-stderr",
37 out: ["art-run-test-949-in-memory-transform-expected-stderr.txt"],
/art/test/1963-add-to-dex-classloader-in-memory/
DAndroid.bp3 // Build rules for ART run-test `1963-add-to-dex-classloader-in-memory`.
16 name: "art-run-test-1963-add-to-dex-classloader-in-memory",
21 ":art-run-test-1963-add-to-dex-classloader-in-memory-expected-stdout",
22 ":art-run-test-1963-add-to-dex-classloader-in-memory-expected-stderr",
28 name: "art-run-test-1963-add-to-dex-classloader-in-memory-expected-stdout",
29 out: ["art-run-test-1963-add-to-dex-classloader-in-memory-expected-stdout.txt"],
36 name: "art-run-test-1963-add-to-dex-classloader-in-memory-expected-stderr",
37 out: ["art-run-test-1963-add-to-dex-classloader-in-memory-expected-stderr.txt"],
/art/test/476-checker-ctor-memory-barrier/
DAndroid.bp3 // Build rules for ART run-test `476-checker-ctor-memory-barrier`.
16 name: "art-run-test-476-checker-ctor-memory-barrier",
21 ":art-run-test-476-checker-ctor-memory-barrier-expected-stdout",
22 ":art-run-test-476-checker-ctor-memory-barrier-expected-stderr",
31 name: "art-run-test-476-checker-ctor-memory-barrier-expected-stdout",
32 out: ["art-run-test-476-checker-ctor-memory-barrier-expected-stdout.txt"],
39 name: "art-run-test-476-checker-ctor-memory-barrier-expected-stderr",
40 out: ["art-run-test-476-checker-ctor-memory-barrier-expected-stderr.txt"],
Dinfo.txt1 Tests if we add memory barriers on constructors when needed (i.e when the
/art/test/2235-JdkUnsafeTest/
Dunsafe_test.cc42 void* memory = malloc(dchecked_integral_cast<size_t>(size)); in Java_Main_jdkUnsafeTestMalloc() local
43 CHECK(memory != nullptr); in Java_Main_jdkUnsafeTestMalloc()
44 return reinterpret_cast64<jlong>(memory); in Java_Main_jdkUnsafeTestMalloc()
47 extern "C" JNIEXPORT void JNICALL Java_Main_jdkUnsafeTestFree(JNIEnv*, jclass, jlong memory) { in Java_Main_jdkUnsafeTestFree() argument
48 void* mem = reinterpret_cast64<void*>(memory); in Java_Main_jdkUnsafeTestFree()
/art/test/004-UnsafeTest/
Dunsafe_test.cc42 void* memory = malloc(dchecked_integral_cast<size_t>(size)); in Java_Main_unsafeTestMalloc() local
43 CHECK(memory != nullptr); in Java_Main_unsafeTestMalloc()
44 return reinterpret_cast64<jlong>(memory); in Java_Main_unsafeTestMalloc()
47 extern "C" JNIEXPORT void JNICALL Java_Main_unsafeTestFree(JNIEnv*, jclass, jlong memory) { in Java_Main_unsafeTestFree() argument
48 void* mem = reinterpret_cast64<void*>(memory); in Java_Main_unsafeTestFree()
/art/test/175-alloc-big-bignums/
Dinfo.txt2 associated memory will be in the C++ heap. This makes sure that we trigger
3 the garbage collector often enough to prevent us from running out of memory.
5 The test allocates roughly 10GB of native memory, approximately 1MB of which
6 will be live at any point. Basically all native memory deallocation is
10 to exhaust device memory, and kill off all processes on the device, including the
/art/test/1004-checker-volatile-ref-load/src/
DMain.java87 memory[allocationIndex] = new Object[1024 / 4]; in allocateAtLeast1KiB()
89 if (allocationIndex == memory.length) { in allocateAtLeast1KiB()
94 public static Object[] memory = new Object[1024]; field in Main
/art/dex2oat/linker/
Dcode_info_table_deduper_test.cc51 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
55 size_t deduped1 = deduper.Dedupe(memory.data()); in TEST()
56 size_t deduped2 = deduper.Dedupe(memory.data()); in TEST()
77 ASSERT_GT(memory.size() * 2, out.size()); in TEST()
/art/test/2272-checker-codegen-honor-write-barrier-kind/src/
DMain.java99 memory[allocationIndex] = new Object[1024 / 4]; in $noinline$allocateAtLeast1KiB()
101 if (allocationIndex == memory.length) { in $noinline$allocateAtLeast1KiB()
106 public static Object[] memory = new Object[1024]; 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/test/071-dexfile-map-clean/
Dinfo.txt9 * The dex file is memory-mapped file-backed as clean memory
/art/runtime/
Dnative_gc_triggering.md1 Triggering the GC to reclaim non-Java memory
14 allocated Java objects in the Java heap, even if they "own" large amounts of C++ memory, which
19 certain amount of C++ memory had been allocated, and could only be reclaimed as the result of a
22 This had the advantage that the GC would theoretically know exactly how much native memory was
31 In extreme cases, underestimation of native object sizes could cause native memory use to be so
39 memory has been allocated, and assumes that any of this may need the collector's help to reclaim.
40 C++ memory allocated by means other than `malloc`/`new` and owned by Java objects should still be
48 We normally check for the need to trigger a GC due to native memory pressure only as a result of
69 `NativeAllocationRegistry`. (The computation also considers the total amount of native memory
75 currently occupies a large fraction of device memory, suggesting that the GC is falling behind and
[all …]
/art/cmdline/
Dmemory_representation.h62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) {
63 return stream << memory.Value << '*' << kDivisor;
/art/test/004-UnsafeTest/src/
DMain.java266 long memory = unsafeTestMalloc(size); in testCopyMemoryPrimitiveArrays() local
274 unsafe.copyMemoryFromPrimitiveArray(inputFloats, 0, memory, size); in testCopyMemoryPrimitiveArrays()
275 unsafe.copyMemoryToPrimitiveArray(memory, outputFloats, 0, size); in testCopyMemoryPrimitiveArrays()
286 unsafe.copyMemoryFromPrimitiveArray(inputDoubles, 0, memory, size); in testCopyMemoryPrimitiveArrays()
287 unsafe.copyMemoryToPrimitiveArray(memory, outputDoubles, 0, size); in testCopyMemoryPrimitiveArrays()
292 unsafeTestFree(memory); in testCopyMemoryPrimitiveArrays()
311 private static native void unsafeTestFree(long memory); in unsafeTestFree() argument
/art/test/080-oom-throw/src/
DMain.java180 Object memory = eatAllMemory(); in triggerReflectionOOM2() local
188 boolean memoryWasAllocated = (memory != null); in triggerReflectionOOM2()
189 memory = null; in triggerReflectionOOM2()
/art/compiler/optimizing/
Dstack_map_test.cc71 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
73 CodeInfo code_info(memory.data()); in TEST()
162 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
164 CodeInfo code_info(memory.data()); in TEST()
337 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
339 CodeInfo code_info(memory.data()); in TEST()
397 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
399 CodeInfo code_info(memory.data()); in TEST()
461 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
463 CodeInfo ci(memory.data()); in TEST()
[all …]
Dcode_generation_data.h41 void* memory = allocator.Alloc<CodeGenerationData>(kArenaAllocCodeGenerator); in Create() local
43 ::new (memory) CodeGenerationData(std::move(allocator), instruction_set)); in Create()
/art/test/159-app-image-fields/
Dexpected-stdout.txt1 Eating all memory.
/art/test/163-app-image-methods/
Dexpected-stdout.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.h81 uint8_t* memory = new uint8_t[ComputeSize(num_vregs)]; in CreateDeoptimizedFrame() local
82 return CreateShadowFrameImpl(num_vregs, method, dex_pc, memory); in CreateDeoptimizedFrame()
88 uint8_t* memory = reinterpret_cast<uint8_t*>(sf); in DeleteDeoptimizedFrame() local
89 delete[] memory; in DeleteDeoptimizedFrame()
327 void* memory) { in CreateShadowFrameImpl() argument
328 return new (memory) ShadowFrame(num_vregs, method, dex_pc); in CreateShadowFrameImpl()

123