From dccf940c4bbf5dd625849b26a8043916af688256 Mon Sep 17 00:00:00 2001
From: Andrew Solovay
Date: Tue, 24 Jun 2014 13:04:54 -0700
Subject: [PATCH] docs: Fixed instructions on checking VM version.
Per IRogers@ , you check the VM version by calling
System.getProperty("java.vm.version") -- not, as previously
documented, "dalvik.vm.version" (Ian says there's no such property as
dalvik.vm.version.) BDC@ and/or AnwarG@, can you confirm?
Revised doc is staged to:
http://asolovay.mtv:9001/guide/practices/verifying-apps-art.html#GC_Migration
bug: 15836664
Change-Id: Ie5e2e058fa9ce033afd18a0f4079faa81bbf317e
---
docs/html/guide/practices/verifying-apps-art.jd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/html/guide/practices/verifying-apps-art.jd b/docs/html/guide/practices/verifying-apps-art.jd
index 0eedfafbbd939..8a88222ee2a02 100644
--- a/docs/html/guide/practices/verifying-apps-art.jd
+++ b/docs/html/guide/practices/verifying-apps-art.jd
@@ -66,7 +66,7 @@ to prevent GC_FOR_ALLOC-type
occurrences or to reduce fragmentation. You can verify which runtime is in use
by calling {@link java.lang.System#getProperty(java.lang.String)
-System.getProperty("dalvik.vm.version")}. If ART is in use, the property's value
+System.getProperty("java.vm.version")}. If ART is in use, the property's value
is "2.0.0" or higher.
Furthermore, a compacting garbage collector is under development in the