]> Cypherpunks repositories - gostls13.git/commit
runtime: handle and test large map values
authorRuss Cox <rsc@golang.org>
Fri, 25 May 2012 02:41:07 +0000 (22:41 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 25 May 2012 02:41:07 +0000 (22:41 -0400)
commitbf18d57d4a186302ed7a3b07d60cd6facda08a71
tree1f60425e5b47be3cd0d135615667fb2cf0ec6d7e
parentca6b4d535f56dbfd0f0334bc7747bde20914d7b2
runtime: handle and test large map values

This is from CL 5451105 but was dropped from that CL.
See also CL 6137051.

The only change compared to 5451105 is to check for
h != nil in reflect·mapiterinit; allowing use of nil maps
must have happened after that original CL.

Fixes #3573.

R=golang-dev, dave, r
CC=golang-dev
https://golang.org/cl/6215078
src/pkg/runtime/hashmap.c
test/bigmap.go