OSDN Git Service

Switch to VMWAIT while outputting trace data.
authorAndy McFadden <fadden@android.com>
Wed, 24 Mar 2010 20:03:08 +0000 (13:03 -0700)
committerAndy McFadden <fadden@android.com>
Wed, 24 Mar 2010 20:07:21 +0000 (13:07 -0700)
commitc66affa440de113df861928c528fcbbead2ead45
tree40f10a756fb4ece8e9f804b6b0322b2b16b250b4
parentb7b9be1343b59b429b6de9b28ffffbbbde8478c2
Switch to VMWAIT while outputting trace data.

One of the traces from a monkey run suggests we stalled out during the
open/write/close part of writing the trace data.  To reduce the chances
of spin-on-suspending here we now switch to VMWAIT during the I/O.

For bug 2541030.

Change-Id: Ice832988213741976917fdd36afa12a694a42e81
vm/SignalCatcher.c