Commit 6f38359
authored
Check with is_in_mmtk_spaces instead of is_mapped_address (#123)
Objects in VM spaces are not 'mmapped' by MMTk, so `is_mapepd_address`
will return `false` for those. But they are still considered as in MMTk
spaces (the VM space).
Note that malloc'd objects are not mapped by MMTk, and not in MMTk
spaces, so both methods will return `false` for malloc'd objects.
However, this seems irrelevant in this scan object code.1 parent b40af34 commit 6f38359
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
391 | | - | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| |||
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
445 | | - | |
| 446 | + | |
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
| |||
0 commit comments