Home | History | Annotate | Download | only in src

Lines Matching defs:WEAK

53   // FREE -> NORMAL <-> WEAK -> PENDING -> NEAR_DEATH -> { NORMAL, WEAK, FREE }
57 WEAK, // Flagged as weak but not yet finalized.
58 PENDING, // Has been recognized as only reachable by weak handles.
73 STATIC_ASSERT(WEAK == Internals::kNodeStateIsWeakValue);
84 // TODO(1428): if it's a weak handle we should have invoked its callback.
184 bool IsWeak() const { return state() == WEAK; }
191 return state() == WEAK || state() == PENDING || state() == NEAR_DEATH;
195 ASSERT(state() == WEAK);
242 set_state(WEAK);
296 // Absence of explicit cleanup or revival of weak handle
332 // Handle specific callback - might be a weak reference in disguise.
663 // Process weak global handle callbacks. This must be done after the
674 // Free nodes do not have weak callbacks. Do not use them to compute
678 // Skip dependent handles. Their weak callbacks might expect to be
687 // Weak callback triggered another GC and another round of
701 // Free nodes do not have weak callbacks. Do not use them to compute
810 if (it.node()->state() == Node::WEAK) {
826 int weak = 0;
833 if (it.node()->state() == Node::WEAK) weak++;
841 PrintF(" # weak = %d\n", weak);
855 it.node()->IsWeak() ? " (weak)" : "");
948 // TODO(1428): invoke weak callbacks.