[squeak-dev] Kernel -> MorphicExtras (!)

Frank Shearar frank.shearar at gmail.com
Wed May 8 12:18:02 UTC 2013


On 7 May 2013 20:44, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 2013-05-07, at 16:29, Frank Shearar <frank.shearar at gmail.com> wrote:
>
>> Kernel depends on MorphicExtras (the SqueakPageCache class in
>> particular) in two places:
>>
>>    ObjectOut >> comeFullyUpOnReload
>>    ObjectOut >> xxxFetch
>>
>> I really don't like something called "Kernel" (with the implication
>> that it's the innermost part of the system) depending on Morphic, let
>> alone MorphicExtras (whose name suggests that it's something entirely
>> optional).
>>
>> How do we break this dependency? (It looks hairy!)
>
> Maybe SqueakPageCache should be moved to System, because it's used by ImageSegments? And the ObjectOut methods that depend on Morphic should be moved down the hierarchy to MorphicObjectOut.

SqueakPageCache, SqueakPage, ObjectOut and MorphObjectOut are really
tightly tangled. #comeFullyUpOnReload: and xxxFetch are particularly
nasty.

frank

> - Bert -
>
>
>


More information about the Squeak-dev mailing list