Latest 4.5, SqueakMap, and SharedPools

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

Latest 4.5, SqueakMap, and SharedPools

cbc
Hi.

I just downloaded a new Squeak 4.5, upgraded to the latest changes in Trunk, and started loading packages I needed into it.  

First I round a little bug in SqueakMap (SMBase), where it couldn't create a directory in Windows.  There is a fix for this in the inbox - no idea what it would do to other platforms, but it works well on Windows.

Next, I loaded FFI and ODBC from SqueakMap.  After loading those, I noticed that ODBCConstants are in the Environment as a Dictionary, and not as a SharedPool as it was loaded in the olden days (Say, 4.3).  Is this an Environments bug?  Or something else?

any ideas how I would get it back to being a SharedPool?

Thanks,
-cbc


cbc
Reply | Threaded
Open this post in threaded view
|

Re: Latest 4.5, SqueakMap, and SharedPools

cbc
I think it is Monticello.  I also had this same problem trying to load in FFI-Win32 - the Win32Constants won't load correctly.
I've noticed this issue for a while, but never got around to tracking it down.
It is interesting - if I browse the package from Monticello, I can see the definition (SharedPool subclass) - copying that into the System Browser, I can execute it there, and then the rest of the process goes forward just fine.

If noone else gets to this, I'll probably try to track it down in the next week or so.

-cbc

On Wed, Jun 25, 2014 at 2:18 PM, Chris Cunningham <[hidden email]> wrote:
Hi.

I just downloaded a new Squeak 4.5, upgraded to the latest changes in Trunk, and started loading packages I needed into it.  

First I round a little bug in SqueakMap (SMBase), where it couldn't create a directory in Windows.  There is a fix for this in the inbox - no idea what it would do to other platforms, but it works well on Windows.

Next, I loaded FFI and ODBC from SqueakMap.  After loading those, I noticed that ODBCConstants are in the Environment as a Dictionary, and not as a SharedPool as it was loaded in the olden days (Say, 4.3).  Is this an Environments bug?  Or something else?

any ideas how I would get it back to being a SharedPool?

Thanks,
-cbc



Reply | Threaded
Open this post in threaded view
|

Re: Latest 4.5, SqueakMap, and SharedPools

Frank Shearar-3
On 25 June 2014 23:42, Chris Cunningham <[hidden email]> wrote:

> I think it is Monticello.  I also had this same problem trying to load in
> FFI-Win32 - the Win32Constants won't load correctly.
> I've noticed this issue for a while, but never got around to tracking it
> down.
> It is interesting - if I browse the package from Monticello, I can see the
> definition (SharedPool subclass) - copying that into the System Browser, I
> can execute it there, and then the rest of the process goes forward just
> fine.
>
> If noone else gets to this, I'll probably try to track it down in the next
> week or so.

I can't remember the details now, but look in squeak-dev's archives;
I'm pretty sure Dictionary vs SharedPool has come up in conversation
in the last year.

frank

> -cbc
>
> On Wed, Jun 25, 2014 at 2:18 PM, Chris Cunningham <[hidden email]>
> wrote:
>>
>> Hi.
>>
>> I just downloaded a new Squeak 4.5, upgraded to the latest changes in
>> Trunk, and started loading packages I needed into it.
>>
>> First I round a little bug in SqueakMap (SMBase), where it couldn't create
>> a directory in Windows.  There is a fix for this in the inbox - no idea what
>> it would do to other platforms, but it works well on Windows.
>>
>> Next, I loaded FFI and ODBC from SqueakMap.  After loading those, I
>> noticed that ODBCConstants are in the Environment as a Dictionary, and not
>> as a SharedPool as it was loaded in the olden days (Say, 4.3).  Is this an
>> Environments bug?  Or something else?
>>
>> any ideas how I would get it back to being a SharedPool?
>>
>> Thanks,
>> -cbc
>
>
>
>
>

cbc
Reply | Threaded
Open this post in threaded view
|

Re: Latest 4.5, SqueakMap, and SharedPools

cbc
On Thu, Jun 26, 2014 at 12:14 AM, Frank Shearar <[hidden email]> wrote:
On 25 June 2014 23:42, Chris Cunningham <[hidden email]> wrote:
> I think it is Monticello.  I also had this same problem trying to load in
> FFI-Win32 - the Win32Constants won't load correctly.
> I've noticed this issue for a while, but never got around to tracking it
> down.
> It is interesting - if I browse the package from Monticello, I can see the
> definition (SharedPool subclass) - copying that into the System Browser, I
> can execute it there, and then the rest of the process goes forward just
> fine.
>
> If noone else gets to this, I'll probably try to track it down in the next
> week or so.

I can't remember the details now, but look in squeak-dev's archives;
I'm pretty sure Dictionary vs SharedPool has come up in conversation
in the last year.

frank
Ah yes, early January this year (this thread: http://lists.squeakfoundation.org/pipermail/squeak-dev/2014-January/175783.html ).  Not exactly this issue, bu t you did mention back then that SharedPool should be part of 4.6, along with various other folks mentioning that SharedPool hadn't been quite finished.

> -cbc
>
> On Wed, Jun 25, 2014 at 2:18 PM, Chris Cunningham <[hidden email]>
> wrote:
>>
>> Hi.
>>
>> I just downloaded a new Squeak 4.5, upgraded to the latest changes in
>> Trunk, and started loading packages I needed into it.
>>
>> First I round a little bug in SqueakMap (SMBase), where it couldn't create
>> a directory in Windows.  There is a fix for this in the inbox - no idea what
>> it would do to other platforms, but it works well on Windows.
>>
>> Next, I loaded FFI and ODBC from SqueakMap.  After loading those, I
>> noticed that ODBCConstants are in the Environment as a Dictionary, and not
>> as a SharedPool as it was loaded in the olden days (Say, 4.3).  Is this an
>> Environments bug?  Or something else?
>>
>> any ideas how I would get it back to being a SharedPool?
>>
>> Thanks,
>> -cbc
>
>
>
>
>