Each isolate is a separate instance of V8. V8 internally does not keep track of all of them. So the answer to both of your questions is no.
On Mon, May 18, 2015 at 11:33 AM <[email protected]> wrote: > Hi folks, > > I work on chromium and I'm making changes to how JS memory usage is being > reported by renderers. One question that's come up is whether there's a way > to query V8 for all JS memory usage (heap and used) within a process. Our > current approach is to go to each V8 embedding point and query the > Isolate(s). Is there a way to get the memory usage without querying each > Isolate explicitly? Alternatively, is the way to enumerate the isolates > within a process so I can query them without explicitly asking each point > that uses V8? > > Thanks. > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
