Searched refs:maxMem (Results 1 – 2 of 2) sorted by relevance
20 long maxMem = Runtime.getRuntime().maxMemory(); in main() local21 Object[] holder = new Object[(int)maxMem / 16]; in main()33 holder[0] = new Object[(int)maxMem / 8]; in main()
50 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation() local51 int size = (int)(maxMem / 32); in checkRegisterNativeAllocation()87 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation() local88 int size = (int)(maxMem / 5); in triggerBlockingRegisterNativeAllocation()