Make ClassLinker::DumpForSigQuit exclude gc

Otherwise we can get into a deadlock because we hold a critical lock
while waiting for weak reference access, thus potentially preventing
other threads from suspending properly to reenable weak reference
access.

Bug: 195261575
Test: TreeHugger
Change-Id: Ideb6199f597c4e06741c79bb2812661d88a42669
1 file changed