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/
DMain.java29 static long maxMem = 0; field in Main
49 if (nativeBytes > 2 * maxMem) { in NativeAllocation()
73 maxMem = Runtime.getRuntime().maxMemory(); in main()
75 int size = (int)(maxMem / 2 / count); in main()