Android System.gc()与Runtime.getRuntime().runFinalization()
背景在看squareLeakcanary源码时,发现这样一段话:GcTriggerDEFAULT=newGcTrigger(){@OverridepublicvoidrunGc(){//CodetakenfromAOSPFinalizationTest://https://android.googlesource.com/platform/libcore/+/master/support/src/