Hello!

> This patch changes the Go library to multiplex goroutines onto operating
> system threads.  Previously, each new goroutine ran in a separate
> thread.  That is inefficient for programs with lots of goroutines.  This
> patch changes the library such that it runs a certain numbers of
> threads, and lets each thread switch between goroutines.  This is how
> the master Go library works, and this patch brings in code from the
> master Go library, adjusted for use by gccgo.

For some reason I get this failure on alphaev68-pc-linux-gnu:

--- FAIL: runtime_test.TestGcSys (4.64 seconds)
        using 64 MB
        using too much memory: 64 MB

Raising the value in runtime/gc_test.go to 10e8 runs the test OK.

Uros.

Reply via email to