summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-04-29 14:13:01 -0700
committerAndy McFadden <fadden@android.com>2010-04-29 15:09:26 -0700
commitf53dd2022494d7d0a2458be10123adbd19cecb84 (patch)
treebd3da448c4bb626ddaa1339a246520b339e5663e /include/ScopedJavaUnicodeString.h
parentae2a757d41f05d5a65b5146223d6bd11251f2c11 (diff)
Rework common_periodicChecks.
The function was rewritten to optimize the common path. The control flow now matches the C version, which tests for debugger/profiler even if the previous test for suspension came up true. This also adds a minor optimization on the test for debugger attachment, allowing us to skip a load from memory if the process is simply not debuggable. (The optimization isn't yet enabled because a similar change must be made to the x86 asm code.) The VM apparently hadn't been built without debugging/profiling support for a while, so this fixes those places (necessary to be able to test all forms of the new code). Bug 2634642. Change-Id: I096b58c961bb73ee0d128ba776d68dbf29bba924
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions