mac vm 3.2.6b7
John M McIntosh
johnmci at smalltalkconsulting.com
Mon Mar 18 21:04:52 UTC 2002
>Hi,
>
>For your downloading pleasure there is a new mac vm, thanks to John,
>in ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.2gamma/mac.
>
Somewhere I'm sure I've a change document.
Ah
Notes About previous VM.
3.2.5 has a bug that prevents the use of accented characters without
a image patch to fix a VM issue (not an issue in 3.2.4). Also
you can't enter an double keystroke characters, ie ^
which makes life difficult. It also does not support the
AppleScript Plugin (not an issue in 3.2.4)
3.2.4 a bug in project builder introduced a performance problem (bad
compiler options).
For 3.2.6:
a) Change an internal number that dictates how often pending
interrupts should be looked at from 5ms to 3ms This improves
delay accuracy.
b) Change how sleeping is done when squeak is idle. This reduces CPU
consumption, and improves Delay accuracy.
c) Fix bug with high bit problem with keyboard (accented characters are ok now)
c2) 3.2.6b6 has fixed characters that require multiple key strokes to enter.
d) Externals that make UI interactions (IE AppleScript) Must now make
a call back to the VM to schedule
the main thread to do the call that will invoke UI interaction to
prevent a deadlock in Carbon between threads.
See the OSAExecute call in the AppleScript plugin for details.
e) If you run a classic mac VM more than 23.x days nonstop it will
stop responding to UI events. Ensure clocks get anded with 536870911.
f) signal inputSemaphoreIndex because we are mulithreaded. Not that
it does anything for us yet...
g) 3.2.6b6 Pass the unicode value of the keystroke up as the
EventKeyDown/EventKeyUp data, versus mackeyboard code.
h) Somewhere there is a bug with mktime + time, so use the unix code
of time+localtime+gmt
i) Change iorelinquishPrcessorForMicroseconds to sleep the quatum
between now and wakeup time. Also schedule a
check for interrupts if wakeup time is now or in the past. This
improves delay accuracy. For OS-x this was a big deal,
for os-9 it improves things by 1 or 2ms. Also in os-x we sleep
more when idle so CPU usage goes down.
j) On OS-9 umap AND free the VM backing store. Just doing the free
doesn't work and you lose 128Mb of disk space until you reboot
k) 3.2.6b7 for post event processing ignore mouse move/drag/or scroll
wheel events. These are ignored by the open/gl plugin and only suck a
major amount of CPU time to process in the post event processing
logic.
--
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
More information about the Squeak-dev
mailing list
|