summaryrefslogtreecommitdiffstats
path: root/libart
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-06-28 14:33:39 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-09 20:45:17 -0700
commit26376765d7333ddf04c021365a1eadd9d47feb7e (patch)
tree94553660a29b88d8da883c1332f8cce58a033f0c /libart
parente138b37c43dc79fd0245afbd6159dcf8f83c7fbf (diff)
downloadlibcore-26376765d7333ddf04c021365a1eadd9d47feb7e.zip
libcore-26376765d7333ddf04c021365a1eadd9d47feb7e.tar.gz
libcore-26376765d7333ddf04c021365a1eadd9d47feb7e.tar.bz2
Add dalvik.system.VMRuntime.vmLibrary
(cherry picked from commit 3382fd584e926b61960ded814c889ea8b84a2222) Change-Id: Ie095151c54caf4b996414d04c2140dcc3b93aa7b
Diffstat (limited to 'libart')
-rw-r--r--libart/src/main/java/dalvik/system/VMRuntime.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/libart/src/main/java/dalvik/system/VMRuntime.java b/libart/src/main/java/dalvik/system/VMRuntime.java
index 18e527d..acd9a0f 100644
--- a/libart/src/main/java/dalvik/system/VMRuntime.java
+++ b/libart/src/main/java/dalvik/system/VMRuntime.java
@@ -68,6 +68,11 @@ public final class VMRuntime {
public native String vmVersion();
/**
+ * Returns the name of the shared library providing the VM implementation.
+ */
+ public native String vmLibrary();
+
+ /**
* Gets the current ideal heap utilization, represented as a number
* between zero and one. After a GC happens, the Dalvik heap may
* be resized so that (size of live objects) / (size of heap) is