-
bdwgc
The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
You may want to look at MCC and Baker's GC. I haven't read the papers yet myself but my (maybe wrong) understanding is that you will have two kinds of marked objects on the heap: "unsure" ones which a conservative scan found (eg. may be from an integer looking like a pointer) and "sure" ones (that are referenced from other marked objects). You will have to pin unsure objects (because you cannot adjust its pointer if that pointer is in fact an integer), but you are free to move, amd so mark-and-compact the sure objects.
This stuff is all implementation dependent. The Boehm garbage collector has been wrestling with the compilers for years regarding these issues, see its development repo.