Home
last modified time | relevance | path

Searched refs:maxMem (Results 1 – 2 of 2) sorted by relevance

/art/test/080-oom-fragmentation/src/
DMain.java20 long maxMem = Runtime.getRuntime().maxMemory(); in main() local
21 Object[] holder = new Object[(int)maxMem / 16]; in main()
33 holder[0] = new Object[(int)maxMem / 8]; in main()
/art/test/004-NativeAllocations/src-art/
DMain.java50 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation() local
51 int size = (int)(maxMem / 32); in checkRegisterNativeAllocation()
87 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation() local
88 int size = (int)(maxMem / 5); in triggerBlockingRegisterNativeAllocation()