memory management notes

This commit is contained in:
Csaba Hruska 2018-01-15 20:23:47 +01:00
parent 9bd46c1543
commit 670e5f271c

7
MemoryManagement.md Normal file
View File

@ -0,0 +1,7 @@
# Memory management
## Heap pointer
- do not use register pinning to store heap pointer
- instead always pass heap pointer as a function argument
- each thread has own heap and heap pointer
- save heap pointer to a global variable when calling foreign function