Commit 0050509
committed
Fix logic of
This is temporary fix as opposed to what is implemented in feature/smp.
`exit_reason` should be allocated in the target process. If it is allocated
in the ctx process, it will be copied to the target process during its next
garbage collection, however this will impact the used memory size, which is
used to ensure a given number of free terms. If `MIN_FREE_SPACE_SIZE` is lower
than the size of the exit reason, the GC will allocate less bytes than expected.
Signed-off-by: Paul Guyot <[email protected]>exit_reason memory handling.1 parent b147b31 commit 0050509
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
191 | 197 | | |
192 | 198 | | |
193 | 199 | | |
| |||
0 commit comments