Trevor Norris I want to genertor a heap dump with unreachable objects , and I can look through to find object that can be gc, but
cost too much memory。 // TODO(1562) Profiler assumes that any object that is in the heap after // full GC is reachable from the root when computing dominators. // This is not true for weakly reachable objects. // As a temporary solution we call GC twice. // heap_->CollectAllGarbage( // Heap::kMakeHeapIterableMask, // "HeapSnapshotGenerator::GenerateSnapshot"); // heap_->CollectAllGarbage( // Heap::kMakeHeapIterableMask, // "HeapSnapshotGenerator::GenerateSnapshot"); should I just remove CollectAllGarbage code, to generate heap dump, is that ok ? @Trevor Norris -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" 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.
