Marcel Taeumel uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-mt.1566.mcz
==================== Summary ====================
Name: Kernel-mt.1566 Author: mt Time: 17 May 2024, 11:50:00.270954 am UUID: 97d1e36d-a215-d741-8ce5-a38d906fe570 Ancestors: Kernel-mt.1565
Now that we have AllProcessesLock and AllProcesses (ensured via update map), add new processes to that list.
=============== Diff against Kernel-mt.1565 ===============
Item was added: + ----- Method: Process class>>new (in category 'instance creation') ----- + new + "Keep track of the processes being created and alive to avoid the need for #allSubInstances in tools such as the ProcessBrowser." + + | newProcess | + newProcess := super new. + AllProcessesLock critical: [AllProcesses add: newProcess]. + ^ newProcess + + + " [ [] newProcess terminate ] bench. + + AFTER: '140,000 per second. 7.13 microseconds per run. 35.02 % GC time.' + BEFORE: '224,000 per second. 4.47 microseconds per run. 4.38 % GC time.' + + [aProcessBrowser updateProcessList] bench. -- allow quick updates + + AFTER: '4,410 per second. 227 microseconds per run. 77.34453 % GC time.' + BEFORE: '118 per second. 8.47 milliseconds per run. 2.59792 % GC time.' + + "!
squeak-dev@lists.squeakfoundation.org