File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2674,16 +2674,13 @@ SpurMemoryManager >> atLeastClassIndexHalfHeader: obj [
26742674
26752675{ #category : #' growing/ shrinking memory' }
26762676SpurMemoryManager >> attemptToShrink [
2677-
26782677 "Attempt to shrink memory after successfully reclaiming lots of memory.
26792678 If there' s enough memory to shrink then be sure to attept to shrink by
26802679 at least growHeaqdroom because segments are typically of that size."
2681-
2682- (totalFreeOldSpace > shrinkThreshold and: [
2683- totalFreeOldSpace > growHeadroom and: [
2684- segmentManager shrinkObjectMemory:
2685- (totalFreeOldSpace - growHeadroom max: growHeadroom) ] ])
2686- ifTrue: [ statShrinkMemory := statShrinkMemory - 1 ]
2680+ (totalFreeOldSpace > shrinkThreshold
2681+ and: [totalFreeOldSpace > growHeadroom
2682+ and: [segmentManager shrinkObjectMemory: (totalFreeOldSpace - growHeadroom max: growHeadroom)]]) ifTrue:
2683+ [statShrinkMemory := statShrinkMemory + 1]
26872684]
26882685
26892686{ #category : #accessing }
You can’t perform that action at this time.
0 commit comments