Skip to content

Commit

Permalink
Trying to fix forwarders in moveToPermSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Jul 8, 2022
1 parent 28da564 commit 3e7c787
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions smalltalksrc/VMMaker/SpurMemoryManager.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8834,6 +8834,8 @@ SpurMemoryManager >> moveToPermSpace: objOop [
0 to: numSlots - 1 do: [ :i | | referenced |
referenced := self fetchPointer: i ofObject: objOop.
((self isNonImmediate: referenced) and: [self isForwarded: referenced])
ifTrue: [ referenced := self followForwarded: referenced ].
"We check only if the object has not be already detected and only for the pointer slots."
((shouldBeRememberedInOldSpace not and: [ i <= numPointerSlots ])
Expand Down

0 comments on commit 3e7c787

Please sign in to comment.