The Trunk: Kernel-eem.1005.mcz

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

The Trunk: Kernel-eem.1005.mcz

commits-2
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1005.mcz

==================== Summary ====================

Name: Kernel-eem.1005
Author: eem
Time: 9 March 2016, 11:53:31.024318 am
UUID: ef6c553c-70dc-4646-8a12-172594ff090a
Ancestors: Kernel-bf.1004

Give SmallFloat64 identityHash 4 and put it in the first class table page at that hash.  64-bit Spur will change over to that tag pattern asap.

=============== Diff against Kernel-bf.1004 ===============

Item was removed:
- (PackageInfo named: 'Kernel') preamble: '((Mutex allInstances allSatisfy: [:m| (m instVarNamed: ''owner'') isNil])
- and: [Monitor allInstances allSatisfy: [:m| (m instVarNamed: ''ownerProcess'') isNil]]) ifFalse:
- [self error: ''Some Mutexes and/or Monitors are owned.  Cannot safely mutate.  ABort load and resolve this before loading for safety.'']'!

Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"below, add code to be run after the loading of this package"
+
+ "Arrange that SmalFloat64 has identityHash 4 and is in the class table first page if possible.
+  Don''t bother to rehash all hashed collections; SmallFloat64 is not in any in the default image"
+ Smalltalk garbageCollect.
+ (Array someInstance size = 1024
+ and: [(Array someInstance allSatisfy: [:e| e == nil or: [e isBehavior]])
+ and: [(Array someInstance first: 17) =  {nil . SmallInteger . Character . SmallInteger . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . Array}]]) ifTrue:
+ [SmallFloat64 tryPrimitive: 161 withArgs: #(4).
+ Array someInstance at: 5 put: SmallFloat64]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeFromStartUpList: DateAndTime.'!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Kernel-eem.1005.mcz

Eliot Miranda-2
Hi All,

    sorry to have messed things up.  Please flush versions of Kernel-eem.1005.mcz and Kernel-eem.1005\(bf.1004\).mcd before updating.  Things may work (Bert, will teh fact that the UUID doesn't match cause flushing to happen automatically?).  But it'll be safer to delete them.

On Wed, Mar 9, 2016 at 11:54 AM, <[hidden email]> wrote:
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1005.mcz

==================== Summary ====================

Name: Kernel-eem.1005
Author: eem
Time: 9 March 2016, 11:53:31.024318 am
UUID: ef6c553c-70dc-4646-8a12-172594ff090a
Ancestors: Kernel-bf.1004

Give SmallFloat64 identityHash 4 and put it in the first class table page at that hash.  64-bit Spur will change over to that tag pattern asap.

=============== Diff against Kernel-bf.1004 ===============

Item was removed:
- (PackageInfo named: 'Kernel') preamble: '((Mutex allInstances allSatisfy: [:m| (m instVarNamed: ''owner'') isNil])
- and: [Monitor allInstances allSatisfy: [:m| (m instVarNamed: ''ownerProcess'') isNil]]) ifFalse:
-       [self error: ''Some Mutexes and/or Monitors are owned.  Cannot safely mutate.  ABort load and resolve this before loading for safety.'']'!

Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"below, add code to be run after the loading of this package"
+
+ "Arrange that SmalFloat64 has identityHash 4 and is in the class table first page if possible.
+  Don''t bother to rehash all hashed collections; SmallFloat64 is not in any in the default image"
+ Smalltalk garbageCollect.
+ (Array someInstance size = 1024
+ and: [(Array someInstance allSatisfy: [:e| e == nil or: [e isBehavior]])
+ and: [(Array someInstance first: 17) =  {nil . SmallInteger . Character . SmallInteger . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . Array}]]) ifTrue:
+       [SmallFloat64 tryPrimitive: 161 withArgs: #(4).
+        Array someInstance at: 5 put: SmallFloat64]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeFromStartUpList: DateAndTime.'!





--
_,,,^..^,,,_
best, Eliot


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Kernel-eem.1005.mcz

Bert Freudenberg
MC versions do not have to be consecutive. It’d be better if you uploaded a 1006 with 1004 as parent.

(this is just to be extra cautious - deleting the old 1005 from local package cache and flushing will work too)

- Bert -

On 09.03.2016, at 21:02, Eliot Miranda <[hidden email]> wrote:

Hi All,

    sorry to have messed things up.  Please flush versions of Kernel-eem.1005.mcz and Kernel-eem.1005\(bf.1004\).mcd before updating.  Things may work (Bert, will teh fact that the UUID doesn't match cause flushing to happen automatically?).  But it'll be safer to delete them.

On Wed, Mar 9, 2016 at 11:54 AM, <[hidden email]> wrote:
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1005.mcz

==================== Summary ====================

Name: Kernel-eem.1005
Author: eem
Time: 9 March 2016, 11:53:31.024318 am
UUID: ef6c553c-70dc-4646-8a12-172594ff090a
Ancestors: Kernel-bf.1004

Give SmallFloat64 identityHash 4 and put it in the first class table page at that hash.  64-bit Spur will change over to that tag pattern asap.

=============== Diff against Kernel-bf.1004 ===============

Item was removed:
- (PackageInfo named: 'Kernel') preamble: '((Mutex allInstances allSatisfy: [:m| (m instVarNamed: ''owner'') isNil])
- and: [Monitor allInstances allSatisfy: [:m| (m instVarNamed: ''ownerProcess'') isNil]]) ifFalse:
-       [self error: ''Some Mutexes and/or Monitors are owned.  Cannot safely mutate.  ABort load and resolve this before loading for safety.'']'!

Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"below, add code to be run after the loading of this package"
+
+ "Arrange that SmalFloat64 has identityHash 4 and is in the class table first page if possible.
+  Don''t bother to rehash all hashed collections; SmallFloat64 is not in any in the default image"
+ Smalltalk garbageCollect.
+ (Array someInstance size = 1024
+ and: [(Array someInstance allSatisfy: [:e| e == nil or: [e isBehavior]])
+ and: [(Array someInstance first: 17) =  {nil . SmallInteger . Character . SmallInteger . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . Array}]]) ifTrue:
+       [SmallFloat64 tryPrimitive: 161 withArgs: #(4).
+        Array someInstance at: 5 put: SmallFloat64]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeFromStartUpList: DateAndTime.'!





--
_,,,^..^,,,_
best, Eliot







smime.p7s (5K) Download Attachment