This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go patch committed: Multiplex goroutines onto OS threads


Uros Bizjak <ubizjak@gmail.com> writes:

> Still no success, now I get:
>
> --- FAIL: runtime_test.TestGcSys (4.21 seconds)
>         ???:1: used 2554104 extra bytes
>         ???:1: using too much memory: 2554104 bytes
> FAIL
> FAIL: runtime

Yeah, I was too aggressive.  It had to be fixed in the master library
too.  This time for sure.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

diff -r e97b850a6f33 libgo/go/runtime/gc_test.go
--- a/libgo/go/runtime/gc_test.go	Wed Dec 14 06:46:23 2011 -0800
+++ b/libgo/go/runtime/gc_test.go	Wed Dec 14 06:48:27 2011 -0800
@@ -22,7 +22,7 @@
 		sys = runtime.MemStats.Sys - sys
 	}
 	t.Logf("used %d extra bytes", sys)
-	if sys > 2<<20 {
+	if sys > 4<<20 {
 		t.Fatalf("using too much memory: %d bytes", sys)
 	}
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]