|
Today I noticed Preferences #serverMode. I've never used it, is this
still useful?
I decided to try setting it in one of my servers to see if it had any
effect on its performance.
Preferences serverMode "false"
Preferences serverMode: true "DNU"
Preferences setPreference: #serverMode toValue: true. "do it"
Preferences serverMode "false. Huh?"
Preferences setPreference: #serverMode toValue: true. "debug it"
In the debugger, select Into + Into + Through.
It works fine in the 4.5 image, but trunk locks up tightly.
It may be due to called code entering a critical: section but I'm not
sure. Based on what Marcel described re: extending "Processor
activeProcess" to return the effective process, is definitely a
suspect..
This is a pretty bad regression from 4.5, because Mutexes are very
common and so the image should could easily lock just by normal
debugging activity..
|