On 07 Mar 2013, at 17:30, Sven Van Caekenberghe <s...@stfx.eu> wrote:

> I hope you can reproduce this ...

Well, here is another datapoint.

The bigger build that I was doing and that fails a lot with the reported 
crash.dmp worked twice and has not yet failed with the StackVM, although it 
takes a ridiculous long time (40 minutes).

For the problem I saw, this VM is reliable:

$ ./stack/vm.sh -version

3.9-7 #1 Mon Nov 19 19:12:44 CET 2012 gcc 4.1.2
StackInterpreter VMMaker-oscog-EstebanLorenzano.166 uuid: 
5773fcb9-2982-4507-8a9e-4308ec33731e Nov 19 2012
git://gitorious.org/cogvm/blessed.git Commit: 
40ac7e7bdec6fef0e934d2c019b86db996053912 Date: 2012-11-19 18:54:49 +0100 By: 
Mariano Martinez Peck <marianop...@gmail.com> Jenkins build #3
Linux pharo-build.lille.inria.fr 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 
14:13:46 EST 2010 i686 i686 i386 GNU/Linux
plugin path: /home/ubuntu/t3-push/stack/vm/stack-linux-latest/ [default: 
/home/ubuntu/t3-push/stack/vm/stack-linux-latest/]

I tried yesterday to come up with some public code to load to generate the 
problem, but I did not succeed yet.

The build that I am doing is a Configuration that depends on a couple of other 
Configurations, it is not small, but I would not call it massive. Seaside is 
certainly bigger, and Moose is probably many times as large.

But I have said this before: the wall clock time of loading a lot of code is 
actually close to unacceptable - I don't think it is the download or the 
compilation, but more all the dynamic stuff that happens after that. There 
should be a way to not do all those updates for each method and move the 
updates to one big batch update after the load - if that is possible.

C++ is notoriously slow to compile because of all the static type checking and 
the amount of context that is needed to understand a piece of code. One of the 
main reasons to start Go was the slow build times, and Go remains statically 
typed. Smalltalk is dynamically typed and late bound in everything, surely it 
should be possible to make our code loading process faster.

Sven

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill


Reply via email to