Demystifying "most Smalltalk's don't directly support multiple inheritance"

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Jun 23 09:44:05 UTC 2006


Klaus D. Witzel puso en su mail :

> That output is from a non 3.9 image. On a 3.9 image you would see that the
> debugger benefits from the implementation of traits, it has better means
> for finding out which class and selector a method is actually used at
> run-time. Here's the difference:

Karl, here is the same on new 7035.
I have a question now.
Could be possible have something like your exercise on non Traits image ?
What is needed on image if VM what follows Blue Book have this unknown (to
me) power ?
Very, very thanks

Edgar


 - 757 tallies, 764 msec.

**Tree**
99.7% {762ms} CaffeeWithMilk>>veryMuchSugar
  64.2% {490ms} CaffeeWithMilk(SugarService)>>sugar
    |63.5% {485ms} ProcessorScheduler>>nextReadyProcess
    |  32.0% {244ms} LinkedList>>isEmpty
    |  29.2% {223ms} Array(SequenceableCollection)>>reverseDo:
  18.8% {144ms} CaffeeWithMilk(Object)>>doesNotUnderstand:
    |14.5% {111ms} MessageNotUnderstood(Exception)>>signal
    |  |13.1% {100ms} MethodContext(ContextPart)>>handleSignal:
    |  |  4.1% {31ms} MethodContext>>tempAt:
    |  |  2.8% {21ms} MessageNotUnderstood class(Exception class)>>handles:
    |  |  2.4% {18ms} BlockContext>>ensure:
    |  |    2.1% {16ms} primitives
    |2.5% {19ms} primitives
  9.8% {75ms} CaffeeWithMilk(SuperclassX)>>internalSwitchSenderToParent:
    |2.8% {21ms} CompiledMethod>>numLiterals
    |2.2% {17ms} UndefinedObject(Object)>>->
    |2.2% {17ms} primitives
  5.5% {42ms} BlockContext>>onDNU:do:

**Leaves**
32.2% {246ms} LinkedList>>isEmpty
29.2% {223ms} Array(SequenceableCollection)>>reverseDo:
4.1% {31ms} MethodContext>>tempAt:
3.0% {23ms} BlockContext>>ensure:
2.5% {19ms} CaffeeWithMilk(Object)>>doesNotUnderstand:
2.2% {17ms} CaffeeWithMilk(SuperclassX)>>internalSwitchSenderToParent:

**Memory**
    old            +0 bytes
    young        -31,428 bytes
    used        -31,428 bytes
    free        +31,428 bytes

**GCs**
    full            0 totalling 0ms (0.0% uptime)
    incr        85 totalling 86ms (11.0% uptime), avg 1.0ms
    tenures        0
    root table    0 overflows




		
_________________________________________________________ 
Horóscopos, Salud y belleza, Chistes, Consejos de amor: 
el contenido más divertido para tu celular está en Yahoo! Móvil. 
Obtenelo en http://movil.yahoo.com.ar



More information about the Squeak-dev mailing list