Schrodinger ZHU Yifan
9b548ed3a2
Add ownership checkings for FlagLock under debug ( #432 )
...
* add ownership checkings for FlagLock under debug
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* fix owner reset ordering
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* addresss CR
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* fix include and constexpr problem
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* use thread_local variable as thread identity
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* change default form for initialization
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* address CR
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* fix typo and format
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* add more assertions
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* adjust flag lock and comments
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
* address CR
Signed-off-by: SchrodingerZhu <i@zhuyi.fan >
2021-12-02 09:18:24 +00:00
Matthew Parkinson
20a114cb62
Add a timer to the PAL
...
This adds a way to periodically pool the PAL to see if any timers have
expired. Timers can be used to periodically provide callbacks to the
rest of snmalloc.
2021-10-28 14:28:36 +01:00
Nathaniel Filardo
ef40f1cf1d
Replace "AAL" type with "Aal" to parallel "Pal"
2019-12-04 16:56:28 +00:00
David Chisnall
7eabea01d6
Add an Architecture Abstraction Layer.
...
Currently, we support one architecture, but this provides a layer for
adding other architectures without adding more nested `#ifdef`s.
Fixes #42
2019-07-10 10:42:59 +01:00
David Chisnall
5c197e4ae4
[NFC] More checks, comments on end of namespace braces.
2019-04-30 09:46:01 +01:00
Matthew Parkinson
4f9d991449
Initial commit of snmalloc
...
History squashed from internal development.
Internal history has commit hash:
e27a0e485c44a5003a802de2661ce3b21e120316
2019-01-15 14:17:55 +00:00