[sgen] Register GC handle counters & avoid 64-bit CAS.
authorJon Purdy <evincarofautumn@gmail.com>
Tue, 12 May 2015 21:06:59 +0000 (14:06 -0700)
committerJon Purdy <evincarofautumn@gmail.com>
Thu, 3 Sep 2015 23:25:23 +0000 (16:25 -0700)
commit5853defbf4d88416f231f430c02962c6853c0b66
tree24c85d45761b0dd79e1e81681a7421d2a2695772
parentce9b7f4a58c28950ef6b8187462336cd12c41ff6
[sgen] Register GC handle counters & avoid 64-bit CAS.

The GC handle counters were not being registered; probably got lost when
rebasing this code atop the independent SGen. This also avoids 64-bit
CAS on these counters, so that platforms without it still have stats.
mono/sgen/sgen-gc.c
mono/sgen/sgen-gchandles.c