diff options
-rw-r--r-- | libart/src/main/java/dalvik/system/VMRuntime.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libart/src/main/java/dalvik/system/VMRuntime.java b/libart/src/main/java/dalvik/system/VMRuntime.java index fca64c7..f778af0 100644 --- a/libart/src/main/java/dalvik/system/VMRuntime.java +++ b/libart/src/main/java/dalvik/system/VMRuntime.java @@ -340,4 +340,17 @@ public final class VMRuntime { public static boolean is64BitAbi(String abi) { return is64BitInstructionSet(getInstructionSet(abi)); } + + /** + * Return false if the boot class path for the given instruction + * set mapped from disk storage, versus being interpretted from + * dirty pages in memory. + */ + public static native boolean isBootClassPathOnDisk(String instructionSet); + + /** + * Returns the instruction set of the current runtime. + */ + public static native String getCurrentInstructionSet(); + } |