Home
last modified time | relevance | path

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

12

/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.java83 memory[allocationIndex] = new Object[1024 / 4]; in allocateAtLeast1KiB()
85 if (allocationIndex == memory.length) { in allocateAtLeast1KiB()
90 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/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.java258 long memory = unsafeTestMalloc(size); in testCopyMemoryPrimitiveArrays() local
266 unsafe.copyMemoryFromPrimitiveArray(inputFloats, 0, memory, size); in testCopyMemoryPrimitiveArrays()
267 unsafe.copyMemoryToPrimitiveArray(memory, outputFloats, 0, size); in testCopyMemoryPrimitiveArrays()
278 unsafe.copyMemoryFromPrimitiveArray(inputDoubles, 0, memory, size); in testCopyMemoryPrimitiveArrays()
279 unsafe.copyMemoryToPrimitiveArray(memory, outputDoubles, 0, size); in testCopyMemoryPrimitiveArrays()
284 unsafeTestFree(memory); in testCopyMemoryPrimitiveArrays()
302 private static native void unsafeTestFree(long memory); in unsafeTestFree() argument
/art/test/163-app-image-methods/
Dexpected.txt1 Eating all memory.
/art/test/159-app-image-fields/
Dexpected.txt1 Eating all memory.
/art/compiler/optimizing/
Dstack_map_test.cc65 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
67 CodeInfo code_info(memory.data()); in TEST()
151 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
153 CodeInfo code_info(memory.data()); in TEST()
321 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
323 CodeInfo code_info(memory.data()); in TEST()
376 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
378 CodeInfo code_info(memory.data()); in TEST()
435 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST() local
437 CodeInfo ci(memory.data()); in TEST()
[all …]
/art/test/1900-track-alloc/
Dinfo.txt1 Tests the jvmti-extension to get allocated memory snapshot.
/art/test/1940-ddms-ext/
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/test/080-oom-throw/src/
DMain.java172 Object memory = eatAllMemory(); in triggerReflectionOOM2() local
180 boolean memoryWasAllocated = (memory != null); in triggerReflectionOOM2()
181 memory = null; in triggerReflectionOOM2()
/art/test/476-checker-ctor-memory-barrier/
Dinfo.txt1 Tests if we add memory barriers on constructors when needed (i.e when the
DAndroid.bp3 name: "art-run-test-476-checker-ctor-memory-barrier",
/art/test/949-in-memory-transform/
DAndroid.bp3 name: "art-run-test-949-in-memory-transform",
Dinfo.txt4 an in-memory dex file (i.e. loaded from an InMemoryDexClassLoader).
/art/test/061-out-of-memory/
DAndroid.bp3 name: "art-run-test-061-out-of-memory",
/art/test/2030-long-running-child/
Dinfo.txt2 main thread terminates immediately, and the child allocates memory and
/art/test/1963-add-to-dex-classloader-in-memory/
DAndroid.bp3 name: "art-run-test-1963-add-to-dex-classloader-in-memory",
/art/test/080-oom-throw/
Dinfo.txt1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
/art/runtime/interpreter/
Dshadow_frame.h77 uint8_t* memory = new uint8_t[ComputeSize(num_vregs)]; in CreateDeoptimizedFrame() local
78 return CreateShadowFrameImpl(num_vregs, link, method, dex_pc, memory); in CreateDeoptimizedFrame()
84 uint8_t* memory = reinterpret_cast<uint8_t*>(sf); in DeleteDeoptimizedFrame() local
85 delete[] memory; in DeleteDeoptimizedFrame()
320 void* memory) { in CreateShadowFrameImpl() argument
321 return new (memory) ShadowFrame(num_vregs, link, method, dex_pc); in CreateShadowFrameImpl()
/art/openjdkjvmti/
DREADME.md6 state of the program by modifying dex files in memory and performing other
/art/runtime/jit/
Ddebugger_interface.cc243 jit::JitMemoryRegion* memory = jit_code_cache->GetCurrentRegion(); in Memory() local
244 CHECK(memory->IsValid()); in Memory()
245 return memory; in Memory()
311 const void* memory = NativeInfo::Alloc(sizeof(JITCodeEntry)); in CreateJITCodeEntryInternal() local
312 if (memory == nullptr) { in CreateJITCodeEntryInternal()
316 new (NativeInfo::Writable(memory)) JITCodeEntry(); in CreateJITCodeEntryInternal()
317 descriptor.free_entries_ = reinterpret_cast<const JITCodeEntry*>(memory); in CreateJITCodeEntryInternal()

12