I don't think any external developers have used this, so there's not
much risk of breaking a script. The feature itself still exists, but
now you have to use the more general dalvik.vm.extra-opts property
to enable it.
Bug
2844083
Change-Id: Id4e1d8466e9b9e5818331ab1f40429040c49437b
of locks in a different order from what was seen earlier, the VM logs
a warning and optionally throws an exception.
of locks in a different order from what was seen earlier, the VM logs
a warning and optionally throws an exception.
-<p>The command-line argument is set based on the
-<code>dalvik.vm.deadlock-predict</code> property. Valid values are
+<p>Valid values for the command-line argument are
<code>off</code> to disable it (default), <code>warn</code> to log the
problem but continue executing, <code>err</code> to cause a
<code>dalvik.system.PotentialDeadlockError</code> to be thrown from the
<code>off</code> to disable it (default), <code>warn</code> to log the
problem but continue executing, <code>err</code> to cause a
<code>dalvik.system.PotentialDeadlockError</code> to be thrown from the
the entire VM abort.
<p>You will usually want to use:
the entire VM abort.
<p>You will usually want to use:
-<pre>adb shell setprop dalvik.vm.deadlock-predict err</pre>
+<pre>adb shell setprop dalvik.vm.extra-opts -Xdeadlockpredict:err</pre>
unless you are keeping an eye on the logs as they scroll by.
<p>Please note that this feature is deadlock prediction, not deadlock
unless you are keeping an eye on the logs as they scroll by.
<p>Please note that this feature is deadlock prediction, not deadlock
<h2><a name="general">General Flags</a></h2>
<h2><a name="general">General Flags</a></h2>
-<p>In the "Honeycomb" release, a general mechanism for passing flags to
+<p>In the "Gingerbread" release, a general mechanism for passing flags to
the VM was introduced:
<pre>adb shell setprop dalvik.vm.extra-opts "flag1 flag2 ... flagN"</pre>
the VM was introduced:
<pre>adb shell setprop dalvik.vm.extra-opts "flag1 flag2 ... flagN"</pre>