Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium

New issue 1293 by [email protected]: [Cleanup] Remove extra TickSample initializations
http://code.google.com/p/v8/issues/detail?id=1293

It looks like TickSample fields get initialized several times. E.g. grepping 'frames_count = 0' gives a couple of initialization on a freshly allocated object (after it has initialized this field in the constructor):

src/cpu-profiler.cc:191:  sample->frames_count = 0;
src/log.cc:152:  sample->frames_count = 0;

Need to double-check that it is safe to delete them. There is one case when TickSample isn't created by a constructor but instead allocated from a buffer.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to