You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This program takes 11 GB of memory. It should use a tiny fixed amount. It's not possible to fix right now, because GC programs are disabled, but when we re-enable them, we should make this work too. This must be fixed for Go 1.5, or else we should unexport reflect.ArrayOf (new since Go 1.4).
This change implements insArray and insArrayEnd directives for gcProg types
informations.
Fixesgolang#10524.
Change-Id: I57773ae63c0ef6f03ea2325c21fc54d9e7bf21c6
I am willing to work on this (it's fun to decipher GC internals).
my WIP is over there: sbinet@dd77546
but I would need some more hand holding, I am afraid.
I started to look at runtime/mbitmaps and cmd/internal/gc/reflect.go... (gengcprog1, proggenarrayproggendata, proggenarrayend and genemit seem to be the general areas where one should look at, but I don't see quite clearly how they would translate into reflect.progGC framework)
sbinet
added a commit
to sbinet/golang-go
that referenced
this issue
Apr 23, 2015
This change implements insArray and insArrayEnd directives for gcProg types
informations.
Fixesgolang#10524.
Change-Id: I57773ae63c0ef6f03ea2325c21fc54d9e7bf21c6
This program takes 11 GB of memory. It should use a tiny fixed amount. It's not possible to fix right now, because GC programs are disabled, but when we re-enable them, we should make this work too. This must be fixed for Go 1.5, or else we should unexport reflect.ArrayOf (new since Go 1.4).
The text was updated successfully, but these errors were encountered: