author | Claus Gittinger <cg@exept.de> |
Thu, 23 Jan 1997 22:39:55 +0100 | |
changeset 989 | 0f047353b974 |
parent 972 | 7f8884cb99e2 |
child 994 | 1734123c7520 |
permissions | -rw-r--r-- |
45 | 1 |
" |
49 | 2 |
COPYRIGHT (c) 1991 by Claus Gittinger |
45 | 3 |
All Rights Reserved |
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
19 | 12 |
|
13 |
StandardSystemView subclass:#MemoryMonitor |
|
311 | 14 |
instanceVariableNames:'updateInterval updateBlock myProcess oldData newData freeData |
93 | 15 |
updateIndex org maxTotal minTotal dX newColor freeColor oldColor |
989 | 16 |
prevTotal prevFree prevFree2 prevOld scale drawLock' |
311 | 17 |
classVariableNames:'' |
18 |
poolDictionaries:'' |
|
19 |
category:'Interface-Tools' |
|
19 | 20 |
! |
21 |
||
798 | 22 |
!MemoryMonitor class methodsFor:'documentation'! |
49 | 23 |
|
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 1991 by Claus Gittinger |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
38 |
documentation |
|
39 |
" |
|
40 |
Shows memory usage (oldspace + newspace). Simple, but useful. |
|
41 |
||
42 |
The numbers shown are: |
|
512 | 43 |
tot total memory usage (i.e. allocated oldSpace + allocated newSpace) |
44 |
(does not include the second semispace and other help-areas, |
|
45 |
such as the remembered set etc.) |
|
49 | 46 |
|
512 | 47 |
all current oldSpace in use + newSpace in use |
49 | 48 |
|
512 | 49 |
new current newSpace in use |
49 | 50 |
|
512 | 51 |
frl free space in (fragmented) free lists |
52 |
fre compact free area above the used oldSpace |
|
49 | 53 |
|
512 | 54 |
old current oldSpace in use |
49 | 55 |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
56 |
cod dynamic compiled code space size (just in time compiler) |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
57 |
|
512 | 58 |
max, extreme values of 'tot' since the monitor started |
59 |
min (can be reset by typing 'r' in the view) |
|
49 | 60 |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
61 |
t tenure threshold (1 .. 30) |
49 | 62 |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
63 |
I incremental GC state (2 = idle) |
49 | 64 |
|
512 | 65 |
weak number of weak objects |
109 | 66 |
|
512 | 67 |
rem size of rememberedSet |
108 | 68 |
|
512 | 69 |
minsc: percent of newspace remaining after scavenge (worst case) |
70 |
(i.e. the minimum %% of scavenged objects) |
|
108 | 71 |
|
512 | 72 |
count number of scavenges since system started |
108 | 73 |
|
512 | 74 |
% percentage of live objects in newSpace after last scavenge |
75 |
(i.e. this is the garbage vs. living objects ratio of |
|
76 |
newSpace objects after the last scavenge) |
|
52 | 77 |
|
49 | 78 |
the graphic shows: |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
79 |
orange newSpace used |
512 | 80 |
green free memory in freeLists |
81 |
white oldSpace used |
|
52 | 82 |
|
83 |
||
84 |
the popupMenu offers GC functions; keyboard options are: |
|
512 | 85 |
'f' -> faster; 's' -> slower; 'r' -> reset min/max |
86 |
||
87 |
[author:] |
|
88 |
Claus Gittinger |
|
89 |
||
90 |
[see also:] |
|
91 |
ObjectMemory |
|
92 |
MemoryUsageMonitor ProcessMonitor |
|
49 | 93 |
" |
94 |
! ! |
|
95 |
||
798 | 96 |
!MemoryMonitor class methodsFor:'defaults'! |
49 | 97 |
|
98 |
defaultExtent |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
99 |
^ (200 @ 320) |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
100 |
|
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
101 |
"Modified: 24.8.1996 / 12:04:21 / cg" |
52 | 102 |
! |
19 | 103 |
|
52 | 104 |
defaultIcon |
105 |
|i| |
|
19 | 106 |
|
93 | 107 |
i := Image fromFile:'MemMonitor.xbm'. |
52 | 108 |
i notNil ifTrue:[^ i]. |
109 |
^ super defaultIcon |
|
311 | 110 |
! |
111 |
||
112 |
defaultLabel |
|
113 |
^ 'Memory Monitor' |
|
114 |
! ! |
|
115 |
||
116 |
!MemoryMonitor methodsFor:'destroying'! |
|
117 |
||
118 |
destroy |
|
119 |
updateBlock notNil ifTrue:[ |
|
120 |
Processor removeTimedBlock:updateBlock. |
|
121 |
] ifFalse:[ |
|
122 |
myProcess terminate. |
|
123 |
myProcess := nil |
|
124 |
]. |
|
125 |
oldData := newData := freeData := nil. |
|
126 |
super destroy |
|
19 | 127 |
! ! |
128 |
||
129 |
!MemoryMonitor methodsFor:'drawing'! |
|
130 |
||
798 | 131 |
displayKilo:aNumber name:nm y:y |
132 |
|s| |
|
133 |
||
134 |
s := nm , ((aNumber // 1024) printStringLeftPaddedTo:5) , 'k '. |
|
135 |
self displayOpaqueString:s x:0 y:y. |
|
136 |
||
137 |
! |
|
138 |
||
311 | 139 |
redraw |
140 |
"redraw all" |
|
49 | 141 |
|
311 | 142 |
self clear. |
143 |
self redrawX:0 y:0 width:width height:height |
|
49 | 144 |
! |
145 |
||
146 |
redrawX:x y:y width:w height:h |
|
147 |
"redraw data" |
|
148 |
||
107 | 149 |
|total oldSpaceUsed newSpaceUsed freeMem lx startIdx endIdx |
52 | 150 |
right| |
49 | 151 |
|
152 |
shown ifFalse:[^ self]. |
|
153 |
||
52 | 154 |
right := x + w - 1. |
155 |
right >= org ifTrue:[ |
|
49 | 156 |
lx := x. |
157 |
lx < org ifTrue:[ |
|
158 |
lx := org |
|
159 |
]. |
|
160 |
||
91 | 161 |
total := ObjectMemory symSpaceSize |
57 | 162 |
+ ObjectMemory oldSpaceSize |
163 |
+ ObjectMemory newSpaceSize. |
|
49 | 164 |
|
52 | 165 |
startIdx := (lx-org+1). |
49 | 166 |
startIdx < 1 ifTrue:[ |
167 |
startIdx := 1 |
|
168 |
]. |
|
169 |
||
52 | 170 |
endIdx := right-org+1. |
49 | 171 |
endIdx >= updateIndex ifTrue:[ |
172 |
endIdx := updateIndex-1. |
|
173 |
]. |
|
174 |
dX := 0. |
|
175 |
||
176 |
startIdx to:endIdx do:[:i | |
|
177 |
newSpaceUsed := newData at:i. |
|
178 |
newSpaceUsed notNil ifTrue:[ |
|
179 |
oldSpaceUsed := oldData at:i. |
|
180 |
freeMem := freeData at:i. |
|
181 |
||
182 |
self updateLineX:lx - dX |
|
183 |
total:total |
|
184 |
old:oldSpaceUsed |
|
185 |
new:newSpaceUsed |
|
52 | 186 |
free:freeMem. |
49 | 187 |
]. |
188 |
lx := lx + 1 |
|
189 |
] |
|
190 |
]. |
|
191 |
||
192 |
x < org ifTrue:[ |
|
193 |
prevFree := prevFree2 := prevOld := prevTotal := nil. |
|
194 |
||
195 |
self updateNumbers. |
|
196 |
] |
|
197 |
! |
|
198 |
||
311 | 199 |
updateDisplay |
200 |
"update picture; trigger next update" |
|
201 |
||
202 |
|total oldSpaceUsed newSpaceUsed freeMem oldSpaceSize |
|
203 |
gWidth shift scaleChange margin mustWait| |
|
204 |
||
205 |
shown ifTrue:[ |
|
989 | 206 |
drawLock wouldBlock ifFalse:[ |
207 |
drawLock critical:[ |
|
208 |
oldSpaceUsed := ObjectMemory oldSpaceUsed + ObjectMemory symSpaceUsed. |
|
209 |
newSpaceUsed := ObjectMemory newSpaceUsed. |
|
210 |
freeMem := ObjectMemory freeListSpace + (ObjectMemory oldSpaceSize - ObjectMemory oldSpaceUsed). |
|
211 |
oldSpaceSize := ObjectMemory oldSpaceSize + ObjectMemory symSpaceSize. |
|
212 |
total := oldSpaceSize + ObjectMemory newSpaceSize. |
|
311 | 213 |
|
989 | 214 |
scaleChange := false. |
311 | 215 |
|
989 | 216 |
((total - freeMem) < minTotal) ifTrue:[ |
217 |
minTotal := total - freeMem. |
|
218 |
scaleChange := true |
|
219 |
]. |
|
220 |
(total > maxTotal) ifTrue:[ |
|
221 |
maxTotal := total. |
|
222 |
scaleChange := true |
|
223 |
]. |
|
311 | 224 |
|
989 | 225 |
oldData at:updateIndex put:oldSpaceSize. "/ oldSpaceUsed. |
226 |
newData at:updateIndex put:newSpaceUsed. |
|
227 |
freeData at:updateIndex put:freeMem. |
|
228 |
updateIndex := updateIndex + 1. |
|
311 | 229 |
|
989 | 230 |
scaleChange ifTrue:[ |
231 |
scale := height asFloat / (maxTotal + 100000). |
|
232 |
self redraw |
|
233 |
]. |
|
311 | 234 |
|
989 | 235 |
gWidth := width - org. |
236 |
margin := 1. |
|
237 |
||
238 |
mustWait := false. |
|
239 |
((updateIndex-1) >= (gWidth - margin)) ifTrue:[ |
|
240 |
"on slow displays, use:" |
|
241 |
"/ shift := gWidth // 4. |
|
311 | 242 |
|
989 | 243 |
"for smooth display, use:" |
244 |
shift := 1. |
|
311 | 245 |
|
989 | 246 |
oldData replaceFrom:1 with:oldData startingAt:shift+1. |
247 |
newData replaceFrom:1 with:newData startingAt:shift+1. |
|
248 |
freeData replaceFrom:1 with:freeData startingAt:shift+1. |
|
311 | 249 |
|
989 | 250 |
updateIndex := updateIndex - shift. |
251 |
dX := dX + shift. |
|
311 | 252 |
|
989 | 253 |
self catchExpose. |
254 |
self copyFrom:self |
|
255 |
x:(org + shift) y:0 |
|
256 |
toX:org y:0 |
|
257 |
width:(gWidth - shift - margin) |
|
258 |
height:height. |
|
259 |
self clearRectangleX:(width - margin - shift) y:0 |
|
260 |
width:shift height:height. |
|
261 |
mustWait := true. |
|
262 |
]. |
|
311 | 263 |
|
989 | 264 |
self updateLineX:(updateIndex - 1 + org - 1) |
265 |
total:total |
|
266 |
old:oldSpaceSize "/ oldSpaceUsed |
|
267 |
new:newSpaceUsed |
|
268 |
free:freeMem. |
|
311 | 269 |
|
989 | 270 |
self updateNumbers. |
271 |
self flush. |
|
311 | 272 |
|
989 | 273 |
mustWait ifTrue:[ |
274 |
self waitForExpose. |
|
275 |
] |
|
276 |
||
277 |
]. |
|
278 |
]. |
|
311 | 279 |
]. |
280 |
||
281 |
updateBlock notNil ifTrue:[ |
|
282 |
Processor addTimedBlock:updateBlock afterSeconds:updateInterval |
|
283 |
]. |
|
284 |
||
989 | 285 |
"Modified: 23.1.1997 / 22:38:08 / cg" |
311 | 286 |
! |
287 |
||
109 | 288 |
updateLineX:x total:total old:oldSpaceSize new:newSpaceUsed free:freeMem |
289 |
|hNew hOld hFree y1 y2 y3| |
|
49 | 290 |
|
291 |
hNew := (newSpaceUsed * scale) asInteger. |
|
109 | 292 |
hOld := (oldSpaceSize * scale) // 2. |
293 |
hFree := (freeMem * scale) // 2. |
|
49 | 294 |
|
295 |
y1 := height - 1. |
|
109 | 296 |
|
49 | 297 |
y2 := y1 - hOld. |
298 |
self paint:oldColor. |
|
299 |
self displayLineFromX:x y:y1 toX:x y:y2. |
|
300 |
||
109 | 301 |
y3 := y1 - hFree. |
49 | 302 |
self paint:freeColor. |
109 | 303 |
self displayLineFromX:x y:y1 toX:x y:y3. |
49 | 304 |
|
109 | 305 |
y1 := y2 - hNew. |
49 | 306 |
self paint:newColor. |
307 |
self displayLineFromX:x y:y1 toX:x y:y2. |
|
308 |
! |
|
309 |
||
310 |
updateNumbers |
|
311 |
"redraw numbers. |
|
312 |
The values shown are: |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
313 |
max: maximum memory used since monitor started |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
314 |
min: minimum memory used since monitor started |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
315 |
tot: total memory used (overall oldSpace + overall newSpace) |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
316 |
all: current memory in use (oldSpace + newSpace) |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
317 |
new: current newSpace in use |
735 | 318 |
fre: current size of freelist in oldSpace |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
319 |
old: current oldSpace in use |
735 | 320 |
code: current just-in-time compiled code cache size |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
321 |
t: current tenure age |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
322 |
I: IGC state |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
323 |
weak: number of weak arrays in the system |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
324 |
rem remembered set size |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
325 |
lrem lifo remembered set size |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
326 |
minsc: percent of newspace remaining after scavenge (worst case) |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
327 |
irq: max. interrupt delay |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
328 |
count of scavenges / last scavenge survivor rate |
156 | 329 |
|
49 | 330 |
" |
331 |
||
332 |
|oldSpaceSize newSpaceSize memUsed oldMemUsed newMemUsed freeMem free2 |
|
107 | 333 |
y half s fontHeight total n| |
49 | 334 |
|
91 | 335 |
oldMemUsed := ObjectMemory oldSpaceUsed + ObjectMemory symSpaceUsed. |
49 | 336 |
newMemUsed := ObjectMemory newSpaceUsed. |
337 |
freeMem := ObjectMemory freeListSpace. |
|
91 | 338 |
oldSpaceSize := ObjectMemory oldSpaceSize + ObjectMemory symSpaceSize. |
49 | 339 |
newSpaceSize := ObjectMemory newSpaceSize. |
340 |
||
341 |
memUsed := oldMemUsed + newMemUsed "- freeMem". |
|
342 |
total := oldSpaceSize + newSpaceSize. |
|
68 | 343 |
free2 := ObjectMemory freeSpace. |
49 | 344 |
|
345 |
self paint:White on:Black. |
|
346 |
||
347 |
fontHeight := font height + font descent. |
|
348 |
half := height // 2 + font descent. |
|
349 |
||
109 | 350 |
y := half - (fontHeight * 5). |
49 | 351 |
|
352 |
total ~~ prevTotal ifTrue:[ |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
353 |
((total - freeMem) < minTotal) ifTrue:[ |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
354 |
minTotal := total - freeMem. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
355 |
]. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
356 |
(total > maxTotal) ifTrue:[ |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
357 |
maxTotal := total. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
358 |
]. |
52 | 359 |
|
798 | 360 |
self displayKilo:maxTotal name:'max ' y:font ascent. |
361 |
self displayKilo:minTotal name:'min ' y:(height - font descent). |
|
362 |
self displayKilo:total name:'tot ' y:y. |
|
52 | 363 |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
364 |
prevTotal := total. |
49 | 365 |
]. |
366 |
||
367 |
y := y + fontHeight. |
|
798 | 368 |
self displayKilo:memUsed name:'all ' y:y. |
49 | 369 |
|
370 |
y := y + fontHeight. |
|
371 |
self paint:newColor. |
|
798 | 372 |
self displayKilo:newMemUsed name:'new ' y:y. |
49 | 373 |
|
374 |
y := y + fontHeight. |
|
375 |
freeMem ~~ prevFree ifTrue:[ |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
376 |
self paint:freeColor. |
798 | 377 |
self displayKilo:freeMem name:'frl ' y:y. |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
378 |
prevFree := freeMem. |
49 | 379 |
]. |
380 |
||
381 |
y := y + fontHeight. |
|
382 |
free2 ~~ prevFree2 ifTrue:[ |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
383 |
self paint:freeColor. |
798 | 384 |
self displayKilo:free2 name:'fre ' y:y. |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
385 |
prevFree2 := free2. |
49 | 386 |
]. |
387 |
||
388 |
y := y + fontHeight. |
|
389 |
(oldMemUsed - freeMem) ~~ prevOld ifTrue:[ |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
390 |
self paint:oldColor. |
798 | 391 |
self displayKilo:(oldMemUsed - freeMem) name:'old ' y:y. |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
392 |
prevOld := (oldMemUsed - freeMem). |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
393 |
]. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
394 |
|
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
395 |
ObjectMemory supportsJustInTimeCompilation ifTrue:[ |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
396 |
y := y + fontHeight. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
397 |
self paint:oldColor. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
398 |
n := ObjectMemory compiledCodeSpaceUsed. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
399 |
n > 9999 ifTrue:[ |
735 | 400 |
s := 'code ' , ((n // 1024) printStringLeftPaddedTo:4) , 'k'. |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
401 |
] ifFalse:[ |
735 | 402 |
s := 'code ' , (n printStringLeftPaddedTo:4) , ' '. |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
403 |
]. |
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
404 |
self displayOpaqueString:s x:0 y:y. |
49 | 405 |
]. |
406 |
||
407 |
" |
|
303
1d94813f1977
interest is written with one 'r' (shame on me)
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
408 |
the following is internal - normally only interesting when debugging the VM |
49 | 409 |
" |
410 |
y := y + fontHeight. |
|
411 |
self paint:oldColor. |
|
60 | 412 |
s := 't:' , (ObjectMemory tenureAge printStringLeftPaddedTo:2) , ' '. |
108 | 413 |
s := s , ' I:' , (ObjectMemory incrementalGCPhase printStringLeftPaddedTo:2) , ' '. |
414 |
self displayOpaqueString:s x:0 y:y. |
|
415 |
||
416 |
y := y + fontHeight. |
|
109 | 417 |
s := 'weak: ' , (ObjectMemory numberOfWeakObjects printStringLeftPaddedTo:4). |
418 |
self displayOpaqueString:s x:0 y:y. |
|
419 |
||
420 |
y := y + fontHeight. |
|
108 | 421 |
s := 'rem: ' , (ObjectMemory rememberedSetSize printStringLeftPaddedTo:5). |
49 | 422 |
self displayOpaqueString:s x:0 y:y. |
423 |
||
109 | 424 |
y := y + fontHeight. |
425 |
s := 'lrem: ' , (ObjectMemory lifoRememberedSetSize printStringLeftPaddedTo:4 ifLarger:['****']). |
|
426 |
self displayOpaqueString:s x:0 y:y. |
|
427 |
||
49 | 428 |
"/ does no longer make sense to show .... |
429 |
"/ y := y + fontHeight. |
|
430 |
"/ ObjectMemory runsSingleOldSpace ifTrue:[ |
|
431 |
"/ self displayOpaqueString:'single' x:0 y:(half + (fontHeight*4)). |
|
432 |
"/ ]. |
|
433 |
||
52 | 434 |
y := y + fontHeight. |
108 | 435 |
n := ObjectMemory minScavengeReclamation / ObjectMemory newSpaceSize * 100.0. |
52 | 436 |
n := 100 - n asInteger. |
108 | 437 |
s := 'minSc ', (n printStringLeftPaddedTo:3) , '%'. |
438 |
self displayOpaqueString:s x:0 y:y. |
|
439 |
||
440 |
y := y + fontHeight. |
|
157 | 441 |
n := ObjectMemory maxInterruptLatency. |
156 | 442 |
n notNil ifTrue:[ |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
443 |
s := 'irq ', (n printStringLeftPaddedTo:3) , ' ms'. |
156 | 444 |
] ifFalse:[ |
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
445 |
s := '' |
156 | 446 |
]. |
447 |
self displayOpaqueString:s x:0 y:y. |
|
448 |
||
449 |
y := y + fontHeight. |
|
108 | 450 |
n := ObjectMemory lastScavengeReclamation / ObjectMemory newSpaceSize * 100.0. |
451 |
n := 100 - n asInteger. |
|
452 |
s := (ObjectMemory scavengeCount printStringLeftPaddedTo:6) |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
453 |
, (n printStringLeftPaddedTo:3) , '%'. |
52 | 454 |
self displayOpaqueString:s x:0 y:y. |
156 | 455 |
|
456 |
"Created: 7.11.1995 / 14:48:16 / cg" |
|
696
b55f8705bb41
show memory use of dynamic code cache
Claus Gittinger <cg@exept.de>
parents:
517
diff
changeset
|
457 |
"Modified: 24.8.1996 / 11:57:22 / cg" |
19 | 458 |
! ! |
459 |
||
460 |
!MemoryMonitor methodsFor:'events'! |
|
461 |
||
311 | 462 |
keyPress:key x:x y:y |
463 |
key == $f ifTrue:[ |
|
464 |
"faster" |
|
465 |
updateInterval := updateInterval / 2 |
|
466 |
]. |
|
467 |
key == $s ifTrue:[ |
|
468 |
"slower" |
|
469 |
updateInterval := updateInterval * 2 |
|
470 |
]. |
|
471 |
key == $r ifTrue:[ |
|
472 |
"reset max" |
|
473 |
maxTotal := prevTotal. |
|
474 |
scale := height asFloat / (maxTotal + 100000). |
|
475 |
self resetStatisticValues. |
|
476 |
self redraw. |
|
477 |
] |
|
478 |
||
479 |
"Modified: 7.11.1995 / 17:45:13 / cg" |
|
480 |
! |
|
481 |
||
49 | 482 |
sizeChanged:how |
483 |
|nn no nf delta oldSize newSize| |
|
484 |
||
485 |
super sizeChanged:how. |
|
19 | 486 |
|
45 | 487 |
oldSize := oldData size. |
49 | 488 |
newSize := width-org+1. |
489 |
||
168
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
490 |
(newSize ~~ oldSize) ifTrue:[ |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
491 |
nn := Array new:newSize. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
492 |
no := Array new:newSize. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
493 |
nf := Array new:newSize. |
45 | 494 |
|
168
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
495 |
(newSize > oldSize) ifTrue:[ |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
496 |
nn replaceFrom:1 to:oldSize with:newData. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
497 |
no replaceFrom:1 to:oldSize with:oldData. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
498 |
nf replaceFrom:1 to:oldSize with:freeData |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
499 |
] ifFalse:[ |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
500 |
delta := (oldSize - newSize). |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
501 |
nn replaceFrom:1 with:newData startingAt:delta+1. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
502 |
no replaceFrom:1 with:oldData startingAt:delta+1. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
503 |
nf replaceFrom:1 with:freeData startingAt:delta+1. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
504 |
updateIndex > newSize ifTrue:[ |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
505 |
updateIndex := updateIndex - delta. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
506 |
] |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
507 |
]. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
508 |
newData := nn. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
509 |
oldData := no. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
510 |
freeData := nf. |
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
511 |
|
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
512 |
scale := height asFloat / (maxTotal + 100000). |
19 | 513 |
]. |
52 | 514 |
self clear. |
168
0ca5ca046b22
Redraw text on vertical window size changes.
Stefan Vogel <sv@exept.de>
parents:
165
diff
changeset
|
515 |
self redraw. |
19 | 516 |
! ! |
45 | 517 |
|
518 |
!MemoryMonitor methodsFor:'initialization'! |
|
519 |
||
311 | 520 |
initialize |
521 |
super initialize. |
|
522 |
||
989 | 523 |
drawLock := Semaphore forMutualExclusion. |
524 |
||
311 | 525 |
updateInterval := 0.5. |
526 |
ProcessorScheduler isPureEventDriven ifTrue:[ |
|
989 | 527 |
updateBlock := [self updateDisplay]. |
311 | 528 |
]. |
529 |
oldData := Array new:1000. |
|
530 |
newData := Array new:1000. |
|
531 |
freeData := Array new:1000. |
|
532 |
||
533 |
updateIndex := 1. |
|
534 |
org := font widthOf:'max 99999k'. |
|
535 |
level := 0. |
|
536 |
||
537 |
maxTotal := minTotal := ObjectMemory oldSpaceSize |
|
989 | 538 |
+ ObjectMemory symSpaceSize |
539 |
+ ObjectMemory newSpaceSize. |
|
311 | 540 |
|
541 |
viewBackground := Black. |
|
542 |
||
543 |
device hasColors ifTrue:[ |
|
989 | 544 |
newColor := Color orange. "/ yellow. |
545 |
freeColor := Color green. |
|
546 |
oldColor := Color white. |
|
311 | 547 |
] ifFalse:[ |
989 | 548 |
newColor := Color grey:67. |
549 |
freeColor := Color grey:33. |
|
550 |
oldColor := Color white. |
|
311 | 551 |
]. |
552 |
||
553 |
self font:(Font family:'courier' face:'medium' style:'roman' size:10). |
|
554 |
||
555 |
self model:self. |
|
556 |
self menu:#memoryMenu |
|
557 |
||
558 |
" |
|
559 |
MemoryMonitor open |
|
560 |
" |
|
989 | 561 |
|
562 |
"Modified: 23.1.1997 / 22:37:06 / cg" |
|
311 | 563 |
! |
564 |
||
85 | 565 |
memoryMenu |
323 | 566 |
|m specialMenu labels selectors| |
567 |
||
568 |
labels := #( |
|
569 |
'scavenge' |
|
570 |
'tenure' |
|
972 | 571 |
'hi prio incremental collect' |
323 | 572 |
'-' |
573 |
'cleanup memory' |
|
844 | 574 |
'flush method history' |
323 | 575 |
'-' |
576 |
'compress sources' |
|
577 |
). |
|
578 |
selectors := #( |
|
579 |
scavenge |
|
580 |
tenure |
|
581 |
incrementalCollect |
|
582 |
nil |
|
583 |
cleanupMemory |
|
844 | 584 |
cleanupMethodHistory |
323 | 585 |
nil |
586 |
compressSources |
|
587 |
). |
|
588 |
||
589 |
specialMenu := PopUpMenu |
|
590 |
labels:(resources array:labels) |
|
591 |
selectors:selectors. |
|
85 | 592 |
|
105 | 593 |
device ctrlDown ifTrue:[ |
323 | 594 |
^ specialMenu |
105 | 595 |
]. |
85 | 596 |
|
972 | 597 |
ObjectMemory backgroundCollectorRunning ifFalse:[ |
598 |
labels := #( |
|
599 |
'collect garbage' |
|
600 |
'collect garbage & symbols' |
|
601 |
'collect garbage & compress' |
|
602 |
'-' |
|
603 |
'background collect now' |
|
604 |
'start background collector' |
|
605 |
'-' |
|
606 |
'reset statistic values' |
|
607 |
'-' |
|
608 |
'others' |
|
609 |
). |
|
323 | 610 |
|
972 | 611 |
selectors := #( |
612 |
garbageCollect |
|
613 |
garbageCollectAndSymbols |
|
614 |
compressingGarbageCollect |
|
615 |
nil |
|
616 |
backgroundCollect |
|
617 |
restartBackgroundCollector |
|
618 |
nil |
|
619 |
resetStatisticValues |
|
620 |
nil |
|
621 |
otherMenu |
|
622 |
). |
|
623 |
] ifTrue:[ |
|
624 |
labels := #( |
|
625 |
'collect garbage' |
|
626 |
'collect garbage & symbols' |
|
627 |
'collect garbage & compress' |
|
628 |
'-' |
|
629 |
'background collect' |
|
630 |
'-' |
|
631 |
'reset statistic values' |
|
632 |
'-' |
|
633 |
'others' |
|
634 |
). |
|
635 |
||
636 |
selectors := #( |
|
637 |
garbageCollect |
|
638 |
garbageCollectAndSymbols |
|
639 |
compressingGarbageCollect |
|
640 |
nil |
|
641 |
backgroundCollect |
|
642 |
nil |
|
643 |
resetStatisticValues |
|
644 |
nil |
|
645 |
otherMenu |
|
646 |
). |
|
647 |
]. |
|
323 | 648 |
m := PopUpMenu labels:(resources array:labels) |
649 |
selectors:selectors. |
|
650 |
||
651 |
m subMenuAt:#otherMenu put:specialMenu. |
|
652 |
^ m |
|
972 | 653 |
|
654 |
"Modified: 21.1.1997 / 00:20:27 / cg" |
|
85 | 655 |
! |
656 |
||
45 | 657 |
realize |
658 |
super realize. |
|
659 |
updateBlock notNil ifTrue:[ |
|
93 | 660 |
Processor addTimedBlock:updateBlock afterSeconds:updateInterval. |
45 | 661 |
] ifFalse:[ |
93 | 662 |
myProcess := [ |
663 |
|d| |
|
45 | 664 |
|
93 | 665 |
[true] whileTrue:[ |
666 |
(Delay forSeconds:updateInterval) wait. |
|
667 |
self updateDisplay |
|
668 |
] |
|
669 |
] forkAt:6. |
|
670 |
myProcess name:'monitor [' , |
|
671 |
Processor activeProcess id printString , |
|
672 |
'] update' |
|
45 | 673 |
]. |
674 |
||
675 |
newColor := newColor on:device. |
|
676 |
freeColor := freeColor on:device. |
|
677 |
oldColor := oldColor on:device. |
|
678 |
||
679 |
font := font on:device. |
|
680 |
! ! |
|
681 |
||
52 | 682 |
!MemoryMonitor methodsFor:'menu functions'! |
683 |
||
311 | 684 |
backgroundCollect |
685 |
"start a background (non disturbing) incremental GC. |
|
686 |
Since the GC is performed at a low priority, it may not make progress if higher |
|
687 |
prio processes are running" |
|
688 |
||
689 |
[ |
|
690 |
ObjectMemory incrementalGC |
|
691 |
] forkAt:5 |
|
692 |
! |
|
693 |
||
105 | 694 |
cleanupMemory |
695 |
"let all classes release unneeded, cached |
|
696 |
data ..." |
|
697 |
||
469
3653317928e2
dont repeat coding in ObjectMemory ...
Claus Gittinger <cg@exept.de>
parents:
360
diff
changeset
|
698 |
ObjectMemory performLowSpaceCleanup. |
3653317928e2
dont repeat coding in ObjectMemory ...
Claus Gittinger <cg@exept.de>
parents:
360
diff
changeset
|
699 |
|
105 | 700 |
" |
701 |
then, perform a GC (incl. symbol reclamation) |
|
702 |
" |
|
703 |
ObjectMemory reclaimSymbols. |
|
704 |
" |
|
705 |
finally, compress |
|
706 |
" |
|
707 |
ObjectMemory verboseGarbageCollect. |
|
708 |
! |
|
709 |
||
844 | 710 |
cleanupMethodHistory |
711 |
"release the oldMethod history" |
|
712 |
||
713 |
(self confirm:'This removes the previous method history, |
|
714 |
which is kept for all changed methods in the system. |
|
715 |
After that, the browsers cannot easily switch back to a methods |
|
716 |
previous version. |
|
717 |
||
718 |
However, this is normally not a problem, since |
|
719 |
a methods previous code should still be accessable through |
|
720 |
either the changes-file, the sourceCode repository or the classes original |
|
721 |
source file. |
|
722 |
||
723 |
cleanup now ?') ifTrue:[ |
|
724 |
||
725 |
||
726 |
Class flushMethodHistory. |
|
727 |
||
728 |
" |
|
729 |
then, perform a GC (incl. symbol reclamation) |
|
730 |
" |
|
731 |
ObjectMemory reclaimSymbols. |
|
732 |
" |
|
733 |
finally, compress |
|
734 |
" |
|
735 |
ObjectMemory verboseGarbageCollect. |
|
736 |
] |
|
737 |
||
738 |
||
739 |
||
740 |
! |
|
741 |
||
311 | 742 |
compressSources |
323 | 743 |
(self confirm:'This saves all in-memory source strings into a file |
360 | 744 |
and makes methods reference these (file-) strings, |
745 |
freeing all in-memory sources. |
|
323 | 746 |
|
747 |
If that source file is ever lost or gets out of sync with |
|
748 |
your system, those method sources are lost and the browser |
|
749 |
will show garbage. |
|
750 |
However, you still have a change file as backup. |
|
751 |
||
752 |
(Be especially careful, if you move images around: |
|
360 | 753 |
the source file must then be the correct one for that image) |
323 | 754 |
|
755 |
A compress is only useful, if you added many methods |
|
756 |
and the systems response time suffers from paging. |
|
757 |
||
758 |
Compress anyway ?') ifTrue:[ |
|
350
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
759 |
windowGroup withWaitCursorDo:[ |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
760 |
Smalltalk compressSources. |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
761 |
ObjectMemory markAndSweep |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
762 |
] |
323 | 763 |
] |
764 |
||
360 | 765 |
"Modified: 9.2.1996 / 18:17:22 / cg" |
311 | 766 |
! |
156 | 767 |
|
311 | 768 |
compressingGarbageCollect |
769 |
"perform a blocking compressing garbage collect." |
|
770 |
||
350
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
771 |
windowGroup withWaitCursorDo:[ |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
772 |
ObjectMemory verboseGarbageCollect |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
773 |
] |
156 | 774 |
! |
775 |
||
52 | 776 |
garbageCollect |
159 | 777 |
"perform a blocking (non compressing) garbage collect" |
778 |
||
350
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
779 |
windowGroup withWaitCursorDo:[ |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
780 |
ObjectMemory markAndSweep |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
781 |
] |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
782 |
|
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
783 |
"Modified: 2.1.1996 / 12:17:33 / cg" |
52 | 784 |
! |
785 |
||
105 | 786 |
garbageCollectAndSymbols |
159 | 787 |
"perform a blocking (non compressing) garbage collect |
788 |
and reclaim unreferenced symbols." |
|
789 |
||
350
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
790 |
windowGroup withWaitCursorDo:[ |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
791 |
ObjectMemory reclaimSymbols |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
792 |
] |
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
793 |
|
68c5fed6c9bc
show waitCursor while collecting
Claus Gittinger <cg@exept.de>
parents:
323
diff
changeset
|
794 |
"Modified: 2.1.1996 / 12:17:36 / cg" |
105 | 795 |
! |
796 |
||
311 | 797 |
incrementalCollect |
798 |
"start an incremental GC which does not disturb too much, but is guaranteed to |
|
799 |
make progress. |
|
323 | 800 |
This is done by doing the IGC at a very high priority, but giving up the CPU after |
801 |
every step. Due to the long delays, this may take a while to finish. |
|
802 |
Notice, that this is different from doing a background collect: that one |
|
803 |
may not make any progress if higher prio processes are runnable." |
|
804 |
||
805 |
|done delay| |
|
806 |
||
311 | 807 |
[ |
323 | 808 |
done := false. |
809 |
delay := Delay new. |
|
810 |
[done] whileFalse:[ |
|
811 |
10 timesRepeat:[ |
|
812 |
done ifFalse:[done := ObjectMemory gcStep]. |
|
813 |
]. |
|
814 |
(delay delay:10) wait |
|
815 |
] |
|
311 | 816 |
] forkAt:Processor highestPriority |
323 | 817 |
|
818 |
"Modified: 23.12.1995 / 17:31:55 / cg" |
|
311 | 819 |
! |
159 | 820 |
|
311 | 821 |
resetStatisticValues |
822 |
ObjectMemory resetMaxInterruptLatency. |
|
823 |
ObjectMemory resetMinScavengeReclamation. |
|
824 |
||
825 |
"Created: 7.11.1995 / 17:44:59 / cg" |
|
52 | 826 |
! |
827 |
||
972 | 828 |
restartBackgroundCollector |
829 |
"start a background (non disturbing) incremental GC. |
|
830 |
Since the GC is performed at a low priority, it may not make progress if higher |
|
831 |
prio processes are running" |
|
832 |
||
833 |
ObjectMemory backgroundCollectorRunning |
|
834 |
ifFalse:[ |
|
835 |
ObjectMemory startBackgroundCollectorAt:5. |
|
836 |
ObjectMemory startBackgroundCollectorAt:5 |
|
837 |
] |
|
838 |
||
839 |
"Created: 21.1.1997 / 00:09:30 / cg" |
|
840 |
! |
|
841 |
||
105 | 842 |
scavenge |
159 | 843 |
"perform a blocking newspace garbage collect. |
844 |
(this is for debugging only - the system does this automatically)" |
|
845 |
||
105 | 846 |
ObjectMemory scavenge |
847 |
! |
|
848 |
||
849 |
tenure |
|
159 | 850 |
"empty the newSpace, by aging all new objects immediately and transfering them |
851 |
into oldSpace. |
|
852 |
(this is for debugging only - the system does this automatically)" |
|
853 |
||
105 | 854 |
ObjectMemory tenure |
311 | 855 |
! ! |
105 | 856 |
|
798 | 857 |
!MemoryMonitor class methodsFor:'documentation'! |
85 | 858 |
|
311 | 859 |
version |
989 | 860 |
^ '$Header: /cvs/stx/stx/libtool/MemoryMonitor.st,v 1.41 1997-01-23 21:39:55 cg Exp $' |
52 | 861 |
! ! |