[squeak-dev] Ephemerons

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Ephemerons

Miguel Cobá
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á

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Ephemerons

johnmci
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 <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





Ephemeron-ikp.1.cs (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Ephemerons

Miguel Cobá
John M McIntosh wrote:
> I had the attached file from Ian with the exchange with him and Brain Brown


Thank you John, I first loaded VMMaker from squeaksource.com as the
changeset uses ObjectMemory that is part of the VMMaker-Interpreter
category.
Then I loaded the change set, but it doesn't includes the definition of
the Ephemeron class. It is just a method named markPhase for ObjectMemory.

Do you have the full Ephemeron definition changeset somewhere?

Cheers,
Miguel Cobá

>
>> 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 <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
> ------------------------------------------------------------------------
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Ephemerons

vaidasd
In reply to this post by Miguel Cobá

File still available in web archive version as of Jul 15, 2006. See attachment.

Vaidotas




Ephemerons.cs (31K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Ephemerons

Miguel Cobá
Vaidotas Didžbalis wrote:
> File still available in web archive version as of Jul 15, 2006
> <http://web.archive.org/web/20060715094641/http:/isgwww.cs.uni-magdeburg.de/~raab/squeak/packages/Ephemerons/Ephemerons.cs>.
> See attachment.
>

Great,
I have filed in this changeset and then the one from John and all went fine.

Thank you both,
Miguel Cobá
> Vaidotas
>
>
> ------------------------------------------------------------------------
>
>