DescriptionMake Linker.isUsed() static, and clean up the fallout.
Make Linker.isUsed() static, so that client code no longer needs to
instantiate a Linker simply to find out that one is not used.
Clean up call sites to avoid nugatory instantiations.
Fix a race that occurred in testing code (prevalent on arm64 but
unseen on arm32) because of the previous non-static Linker.isUsed(),
add Linker testing convenience setup function, and clean up client
code that must configure a Linker for testing if required.
Enable testing for arm64, and check that it now works cleanly.
Tidy up a few method names and string formatting. Add a previously
missing synchronized(singletonLock).
BUG=385553
Committed: https://crrev.com/51958d6ded60cc90a9814220c55db2a8dce0d181
Cr-Commit-Position: refs/heads/master@{#346700}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Tiny log tweak, protected->private, rebase to master. #Messages
Total messages: 17 (4 generated)
|