mirror of
https://github.com/grin-compiler/grin.git
synced 2024-08-17 09:50:43 +03:00
memory management notes
This commit is contained in:
parent
9bd46c1543
commit
670e5f271c
7
MemoryManagement.md
Normal file
7
MemoryManagement.md
Normal 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
|
Loading…
Reference in New Issue
Block a user