+ LinearAlloc + utest
This commit is contained in:
parent
b5e7d91883
commit
8970f51dbd
12 changed files with 495 additions and 0 deletions
20
include/xo/alloc/GCAlloc.hpp
Normal file
20
include/xo/alloc/GCAlloc.hpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* file GCAlloc.hpp
|
||||
*
|
||||
* author: Roland Conybeare, Jul 2025
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace xo {
|
||||
namespace gc {
|
||||
class GC : public IAlloc {
|
||||
enum class Space { A, B, N_Space };
|
||||
enum class Gen { Nursery, Tenured };
|
||||
|
||||
};
|
||||
|
||||
} /*namespace mem */
|
||||
} /*namespace xo*/
|
||||
|
||||
|
||||
/* end GCAlloc.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue