6 #include <cds/gc/impl/hp_decl.h>
7 #include <cds/gc/impl/hp_impl.h>
8 #include <cds/details/lib.h>
11 @page cds_garbage_collectors_comparison GC comparison
12 @ingroup cds_garbage_collector
18 <th>%cds::gc::DHP</th>
21 <td>Max number of guarded (hazard) pointers per thread</td>
22 <td>limited (specifies in GC object ctor)</td>
23 <td>unlimited (dynamically allocated when needed)</td>
26 <td>Max number of retired pointers<sup>1</sup></td>
31 <td>Array of retired pointers</td>
32 <td>preallocated for each thread, size is limited</td>
33 <td>global for the entire process, unlimited (dynamically allocated when needed)</td>
37 <sup>1</sup>Unbounded count of retired pointer means a possibility of memory exhaustion.
42 /// Different safe memory reclamation schemas (garbage collectors)
43 /** @ingroup cds_garbage_collector
45 This namespace specifies different safe memory reclamation (SMR) algorithms.
46 See \ref cds_garbage_collector "Garbage collectors"
54 #endif // #ifndef __CDS_GC_HP_H