[squeak-dev] Ephemerons
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Apr 24 03:45:49 UTC 2009
I had the attached file from Ian with the exchange with him and Brain
Brown
> On Tue, 23 Sep 2003, Brian Brown wrote:
>
>> The exception is an older image from the ComSwiki bundle from the
>> Squeak Wiki. I was using as recently as 3.6 beta 3, which I compiled,
>> but under FreeBSD 4.8. When I try to run that now, I get a
>> Segmentation
>> Fault and a core file.
>>
>> I'm not sure, but the ComSwiki distro might be a 3.2 image, although
>> that shouldn't matter, should it?
>
> It shouldn't, but... The problem appears to be an off-by-1 error in
> testing for Ephemeron support in the garbage collector. The problem
> only
> manifests itself in images without Ephemeron support filed-in. The
> attached changeset fixes the error in the VM. (As soon as Andreas
> confirms the fix I will apply it in the distributed sources and
> release
> a set of 3.2g-3 archives.)
>
> In the meantime either
>
> - file the image-side Ephemeron support as posted by Andreas into
> your
> affected image(s); or
>
> - file the attached CS into your VMMaker image, regenerate the core
> VM,
> recompile; or
>
> - find the line in src/vm/interp.c that says
>
> if ((lengthOf(foo->specialObjectsOop)) >= ClassEphemeron) {
>
> and change it manually to
>
> if ((lengthOf(foo->specialObjectsOop)) > ClassEphemeron) {
>
> then recompile.
On 23-Apr-09, at 7:43 PM, Miguel Enrique Cobá Martínez wrote:
> I am trying to get the Ephemerons implementations from Andreas Raab,
> but I can't find it.
>
> In the pages:
>
> http://map.squeak.org/package/fe2a35f5-3f97-431e-8596-58e810aa3c72
> http://map.squeak.org/package/fe2a35f5-3f97-431e-8596-58e810aa3c72/autoversion/1
>
> I found this link:
>
> http://isgwww.cs.uni-magdeburg.de/~raab/squeak/packages/Ephemerons/Ephemerons.cs
>
> but is broken.
>
> Where can I find the code?
>
> Thanks,
> Miguel Cobá
>
--
=
=
=
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
=
=
=
========================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ephemeron-ikp.1.cs
Type: application/octet-stream
Size: 1400 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090423/1904ead6/Ephemeron-ikp.1.obj
More information about the Squeak-dev
mailing list
|