summaryrefslogtreecommitdiffstats
path: root/core/jni/android_os_MemoryFile.cpp
diff options
context:
space:
mode:
authorCatherine Liu <wlcl05@motorola.com>2012-06-27 15:11:04 -0700
committerMarcus Stojcevich <mstojcevich@gmail.com>2012-06-27 15:11:04 -0700
commitd96dab724b2655864f4e1cc761b0573fb00726b4 (patch)
tree8b4db1367581ebccccf5ffbaf2bdbbe57f9b84cb /core/jni/android_os_MemoryFile.cpp
parent44f9c784306665b040acab64b37aa514f8e22920 (diff)
downloadframeworks_base-d96dab724b2655864f4e1cc761b0573fb00726b4.zip
frameworks_base-d96dab724b2655864f4e1cc761b0573fb00726b4.tar.gz
frameworks_base-d96dab724b2655864f4e1cc761b0573fb00726b4.tar.bz2
Fix sluggish to launch an app
The new trace feature/code in 4.0.4, which will dump the app stack trace every 500ms if an app can't be launched within 500ms, is holding the global ActivityManagerService lock unnecessarily. It slows down the app's startup. Change-Id: I91fbb043912b4d1fcf3e80d8ac4e61cd20ad89d1 Solution: move the trace file write operations out of sync block.
Diffstat (limited to 'core/jni/android_os_MemoryFile.cpp')
0 files changed, 0 insertions, 0 deletions