summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_test.h
diff options
context:
space:
mode:
author Hans Boehm <hboehm@google.com> 2021-08-11 12:11:19 -0700
committer Hans Boehm <hboehm@google.com> 2021-08-13 16:34:20 +0000
commit70aa29e2d93ba66e71a8ff88c9210719efae1c31 (patch)
treef095ddc5ecc6f699422dbddce6e937047f407915 /libnativeloader/native_loader_test.h
parent7de49d88a1fded45a20209b5335464dd84c3ea03 (diff)
Do not acquire runtime_shutdown_lock_ in Abort()
Abort can be called, particularly in OOM situations, when we already hold the lock. Abort() should minimize the locks it acquires. This is intended to be a minimal, low-risk change. Generated code should be essentially unchanged, except in Abort(). This does not address the question of whether IsShuttingDown really needs to lock at all. Test: Build and boot AOSP. Bug: 195884830 Change-Id: I0ee4a7ca7348153436fec0fecc1d1f2ca1f7a30c
Diffstat (limited to 'libnativeloader/native_loader_test.h')
0 files changed, 0 insertions, 0 deletions