Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/io/
DMemoryTest.java33 VMRuntime runtime = VMRuntime.getRuntime(); in testSetIntArray() local
34 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length + 1); in testSetIntArray()
35 long base_ptr = runtime.addressOf(array); in testSetIntArray()
74 VMRuntime runtime = VMRuntime.getRuntime(); in testSetLongArray() local
75 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length + 1); in testSetLongArray()
76 long base_ptr = runtime.addressOf(array); in testSetLongArray()
112 VMRuntime runtime = VMRuntime.getRuntime(); in testSetShortArray() local
113 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length + 1); in testSetShortArray()
114 long base_ptr = runtime.addressOf(array); in testSetShortArray()
/libcore/dalvik/src/test/java/dalvik/system/
DCloseGuardMonitor.java84 Runtime runtime = Runtime.getRuntime(); in run() local
86 runtime.gc(); in run()
/libcore/ojluni/src/main/java/java/lang/
DSystem.java938 VMRuntime runtime = VMRuntime.getRuntime(); in initUnchangeableSystemProperties() local
942 p.put("java.boot.class.path", runtime.bootClassPath()); in initUnchangeableSystemProperties()
943 p.put("java.class.path", runtime.classPath()); in initUnchangeableSystemProperties()
952 p.put("java.vm.version", runtime.vmVersion()); in initUnchangeableSystemProperties()
985 parsePropertyAssignments(p, runtime.properties()); in initUnchangeableSystemProperties()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java57 VMRuntime runtime = VMRuntime.getRuntime(); in MemoryRef() local
58 buffer = (byte[]) runtime.newNonMovableArray(byte.class, capacity + 7); in MemoryRef()
59 allocatedAddress = runtime.addressOf(buffer); in MemoryRef()