Home | History | Annotate | Download | only in src

Lines Matching defs:WEAK

30   // FREE -> NORMAL <-> WEAK -> PENDING -> NEAR_DEATH -> { NORMAL, WEAK, FREE }
34 WEAK, // Flagged as weak but not yet finalized.
35 PENDING, // Has been recognized as only reachable by weak handles.
50 STATIC_ASSERT(WEAK == Internals::kNodeStateIsWeakValue);
61 // TODO(1428): if it's a weak handle we should have invoked its callback.
154 bool IsWeak() const { return state() == WEAK; }
161 return state() == WEAK || state() == PENDING || state() == NEAR_DEATH;
165 ASSERT(state() == WEAK);
211 set_state(WEAK);
252 // Absence of explicit cleanup or revival of weak handle
287 // Handle specific callback - might be a weak reference in disguise.
616 // Process weak global handle callbacks. This must be done after the
627 // Free nodes do not have weak callbacks. Do not use them to compute
631 // Skip dependent handles. Their weak callbacks might expect to be
640 // Weak callback triggered another GC and another round of
654 // Free nodes do not have weak callbacks. Do not use them to compute
763 if (it.node()->state() == Node::WEAK) {
779 int weak = 0;
786 if (it.node()->state() == Node::WEAK) weak++;
794 PrintF(" # weak = %d\n", weak);
808 it.node()->IsWeak() ? " (weak)" : "");
901 // TODO(1428): invoke weak callbacks.