DescriptionRefactor storage of global handles.
We used to have a linked list of nodes that were internally
block-allocated.
I kept the node blocks and put them on two lists: 1) the list of all
allocated blocks, 2) the list of blocks with used nodes. (1) is used
to reclaim blocks and (2) is used for traversal during GC. To make
traversal on scavenges faster the nodes holding new space objects are
grouped in an auxiliary array.
This changes the minimal memory usage from 5 words per global handle
to 4. Additional word is used for new space handles.
Committed: http://code.google.com/p/v8/source/detail?r=8186
Patch Set 1 #
Total comments: 8
Messages
Total messages: 4 (0 generated)
|