/art/test/004-UnsafeTest/ |
D | unsafe_test.cc | 42 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/ |
D | info.txt | 2 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/ |
D | Main.java | 83 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/ |
D | Main.java | 28 Object memory = eatAllMemory(); in main() local 51 boolean memoryWasAllocated = (memory != null); in main() 52 memory = null; in main()
|
/art/test/071-dexfile-map-clean/ |
D | info.txt | 9 * The dex file is memory-mapped file-backed as clean memory
|
/art/cmdline/ |
D | memory_representation.h | 62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) { 63 return stream << memory.Value << '*' << kDivisor;
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 258 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/ |
D | expected.txt | 1 Eating all memory.
|
/art/test/159-app-image-fields/ |
D | expected.txt | 1 Eating all memory.
|
/art/compiler/optimizing/ |
D | stack_map_test.cc | 65 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/ |
D | info.txt | 1 Tests the jvmti-extension to get allocated memory snapshot.
|
/art/test/1940-ddms-ext/ |
D | info.txt | 1 Tests the jvmti-extension to get allocated memory snapshot.
|
/art/test/074-gc-thrash/ |
D | info.txt | 1 This thrashes the memory allocator and garbage collector for a brief period.
|
/art/test/080-oom-throw/src/ |
D | Main.java | 172 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/ |
D | info.txt | 1 Tests if we add memory barriers on constructors when needed (i.e when the
|
D | Android.bp | 3 name: "art-run-test-476-checker-ctor-memory-barrier",
|
/art/test/949-in-memory-transform/ |
D | Android.bp | 3 name: "art-run-test-949-in-memory-transform",
|
D | info.txt | 4 an in-memory dex file (i.e. loaded from an InMemoryDexClassLoader).
|
/art/test/061-out-of-memory/ |
D | Android.bp | 3 name: "art-run-test-061-out-of-memory",
|
/art/test/2030-long-running-child/ |
D | info.txt | 2 main thread terminates immediately, and the child allocates memory and
|
/art/test/1963-add-to-dex-classloader-in-memory/ |
D | Android.bp | 3 name: "art-run-test-1963-add-to-dex-classloader-in-memory",
|
/art/test/080-oom-throw/ |
D | info.txt | 1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
|
/art/runtime/interpreter/ |
D | shadow_frame.h | 77 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/ |
D | README.md | 6 state of the program by modifying dex files in memory and performing other
|
/art/runtime/jit/ |
D | debugger_interface.cc | 243 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()
|