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.java63 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation() local
64 int size = (int)(maxMem / 32); in checkRegisterNativeAllocation()
96 System.out.println(" original maxMemory() = " + maxMem + " current maxMemory() = " in checkRegisterNativeAllocation()
122 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation() local
123 int size = (int)(maxMem / 5); in triggerBlockingRegisterNativeAllocation()