looking at the current Glorp support in VA 8.0.2 I noticed that in application GlorpVAPort there's a class "ObjectMemory" with no code.
The only references I found in the code are in: Dialect class>>garbageCollect (inside Visual Works/GNU St specific code):
- Code: Select all
Dialect isGNU ifTrue: [^ ObjectMemory globalGarbageCollect].
Dialect isVisualWorks ifTrue: [^ ObjectMemory quickGC].
Dialect isVisualAge ifTrue: [^ (self smalltalkAt: #System) globalGarbageCollect].
Dialect isSqueak ifTrue: [^Smalltalk garbageCollect].
Dialect isObjectStudio ifTrue: [^(self smalltalkAt: #System) garbageCollect].
self error: 'not implemented yet'.
and there's also references to the symbol in "QA Code Coverage", "QA Code Metrics" and "QA Code Critic" applications but also applies to Visual Works code.
I'm having problems with some GemBuilder applications that uses "ObjectMemory" in configuration expressions as a way to detect that the image is for Visual Works.
I will change Dialect class>>garbageCollect to not reference directly ObjectMemory (just like System references in that ugly method), and remove ObjectMemory from the system. Maybe this change could be included in the base image to avoid further conflicts (a class like this and without behavior is IMHO useless).