Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007345 [Squeak] System feature always 04-30-09 12:29 05-02-09 02:35
Reporter sig View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.10.2
Summary 0007345: A VM changes allowing a language-side custom scheduler
Description This is a changes, which allows Squeak to use image-side scheduling.

The VM-side changes is in new-scheduling-for-VM changeset.
And image-side changes is in new-scheduling changeset.

The image-side changes are safe to file-in into any 3.10 based image (not tested for others).

To install a new scheduler , issue:

AdvancedProcessScheduler install.

Both VM and image side changes are backwards compatible.
a) You can use old images with new VM
b) You can safely run an image with new scheduler, on older VM - it will fall back to use old ProcessorScheduler.


Additional Information
Attached Files  new-scheduling-for-VM.1.cs [^] (35,963 bytes) 04-30-09 12:29
 new-scheduling.2.cs [^] (19,498 bytes) 04-30-09 12:30
 new-scheduling-for-VM.2.cs [^] (36,685 bytes) 04-30-09 13:27
 new-scheduling.5.cs [^] (27,810 bytes) 05-02-09 02:33
 scheduling-tests.1.cs [^] (3,026 bytes) 05-02-09 02:33

- Relationships

- Notes
(0013104 - 25 - 25 - 25 - 25 - 25 - 25)
sig
04-30-09 12:33

- based on VMMaker-dtl.91
 
(0013105 - 154 - 166 - 166 - 166 - 166 - 166)
sig
04-30-09 13:29

A 'new-scheduling-for-VM.2.cs'

contains an updated #callbackEnter: method, which should now work correctly with callbacks in new-scheduler-aware image.
 
(0013106 - 627 - 716 - 716 - 716 - 716 - 716)
sig
05-02-09 02:35
edited on: 05-02-09 02:47

- added scheduler regression tests (in scheduling-tests).

More recent image-side scheduler (new-scheduling.5.cs) changes:

- added an image boot sequence. Now its cleverly picks an appropriate
scheduler depending on VM.
- a process termination is rewritten,
- added a TerminateProcess exception , which could be used to perform
additional actions during process termination
 [ .... ] on: TerminateProcess do: [:ex | .... ]
- a process which is being terminated runs as active process. This is
to ensure, that any #ensure: / #on:do: / #ifCurtailed: blocks will run
in same environment as during normal execution.

 

- Issue History
Date Modified Username Field Change
04-30-09 12:29 sig New Issue
04-30-09 12:29 sig File Added: new-scheduling-for-VM.1.cs
04-30-09 12:30 sig File Added: new-scheduling.2.cs
04-30-09 12:33 sig Note Added: 0013104
04-30-09 13:27 sig File Added: new-scheduling-for-VM.2.cs
04-30-09 13:29 sig Note Added: 0013105
05-02-09 02:33 sig File Added: new-scheduling.5.cs
05-02-09 02:33 sig File Added: scheduling-tests.1.cs
05-02-09 02:35 sig Note Added: 0013106
05-02-09 02:47 sig Note Edited: 0013106
05-06-09 21:26 lewis Issue Monitored: lewis


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
55 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker