More accurate trace reporting duration of android gc bridge
commit30cc8f4fd23906fc6b794393f5d483b48b5cef75
authorAndi McClure <andi.mcclure@xamarin.com>
Tue, 17 May 2016 16:45:49 +0000 (17 12:45 -0400)
committerAndi McClure <andi.mcclure@xamarin.com>
Tue, 17 May 2016 16:45:49 +0000 (17 12:45 -0400)
treebcc7015519c392020189e8925a63c0f3ae097142
parent977199d9e26d135f7db4daf1143bab777724ef60
More accurate trace reporting duration of android gc bridge

There is some code that reports the length of a gc bridge operation in
sgen-stw. This is dead code dating from a period when gc bridges
occurred synchronously as part of a stop the world operation. The new
code globally tracks the end of the last stw and reports time since
then when the bridge thread completes.
mono/metadata/sgen-bridge.c
mono/metadata/sgen-client-mono.h
mono/metadata/sgen-mono.c
mono/metadata/sgen-stw.c
mono/sgen/sgen-gc.h