Commit 4f4a28dc authored by Richard Uhler's avatar Richard Uhler
Browse files

RegisterNativeAllocation: avoid an extraneous blocking gc.

If another thread already ran a blocking gc since
RegisterNativeAllocation was entered, there's no need to run another
blocking gc before exiting RegisterNativeAllocation.

Bug: 29156652
Bug: 32576211
Test: 004-NativeAllocations run test.
Change-Id: Ie89652760deaa24b70adb07227a9918059da46c7
parent f8512f85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment