Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New & old remembered sets #418

Merged
merged 11 commits into from
Apr 27, 2022
Empty file modified extracted/vm/src/win/sqWin32SpurAlloc.c
100755 → 100644
Empty file.
483 changes: 173 additions & 310 deletions smalltalksrc/VMMaker/SpurGenerationScavenger.class.st

Large diffs are not rendered by default.

16 changes: 1 addition & 15 deletions smalltalksrc/VMMaker/SpurGenerationScavengerSimulator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ SpurGenerationScavengerSimulator >> cameFrom: anObject [
cameFrom := anObject
]

{ #category : #'remembered set' }
SpurGenerationScavengerSimulator >> computeRefCountToShrinkRT [
self halt.
^super computeRefCountToShrinkRT
]

{ #category : #scavenger }
SpurGenerationScavengerSimulator >> copyAndForward: survivor [
| relocatedOop |
Expand Down Expand Up @@ -57,14 +51,6 @@ SpurGenerationScavengerSimulator >> recordMovements [

{ #category : #accessing }
SpurGenerationScavengerSimulator >> rememberedSet [
^rememberedSet
]

{ #category : #scavenger }
SpurGenerationScavengerSimulator >> scavenge: tenuringCriterion [
manager bootstrapping ifFalse:
[coInterpreter transcript nextPutAll: 'scavenging('; print: manager statScavenges; nextPutAll: ')...'; flush.
cameFrom ifNotNil:
[cameFrom := Dictionary new]].
^super scavenge: tenuringCriterion
^ rememberedSet
]
Loading