Home | History | Annotate | Download | only in src

Lines Matching refs:WEAK

47   // FREE -> NORMAL <-> WEAK -> PENDING -> NEAR_DEATH -> { NORMAL, WEAK, FREE }
51 WEAK, // Flagged as weak but not yet finalized.
52 PENDING, // Has been recognized as only reachable by weak handles.
66 // TODO(1428): if it's a weak handle we should have invoked its callback.
135 bool IsWeak() const { return state_ == WEAK; }
142 return state_ == WEAK || state_ == PENDING || state_ == NEAR_DEATH;
146 ASSERT(state_ == WEAK);
194 state_ = WEAK;
235 // Absence of explicit cleanup or revival of weak handle
529 // Process weak global handle callbacks. This must be done after the
539 // Skip dependent handles. Their weak callbacks might expect to be
545 // Weak callback triggered another GC and another round of
621 if (it.node()->state() == Node::WEAK) {
637 int weak = 0;
644 if (it.node()->state() == Node::WEAK) weak++;
652 PrintF(" # weak = %d\n", weak);
665 it.node()->IsWeak() ? " (weak)" : "");
720 // TODO(1428): invoke weak callbacks.