DescriptionTell the GC prologues to construct RetainedObjectInfos only when needed.
The GC prologue is called by the GC, but also by the heap snapshotter. The
RetainedObjectInfos are only needed by the heap snapshotter, so it's wasteful to
construct them always. (And it will be even more wasteful when Blink migrates to
the new GC APIs, since after that point it no longer knows about object groups.)
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=14439
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|