Home | History | Annotate | Download | only in src

Lines Matching full:weak

68     if (state_ == WEAK || IsNearDeath()) {
101 // Make this handle weak.
105 if (state_ != WEAK && !IsNearDeath()) {
111 state_ = WEAK;
119 if (state_ == WEAK || IsNearDeath()) {
135 return state_ == WEAK;
138 // Returns the id for this weak handle.
148 // Returns the callback for this weak handle.
165 // It's fine though to reuse nodes that were destroyed in weak callback
188 // NORMAL <-> WEAK -> PENDING -> NEAR_DEATH -> { NORMAL, WEAK, DESTROYED }
191 WEAK, // Flagged as weak but not yet finalized.
192 PENDING, // Has been recognized as only reachable by weak handles.
330 // WEAK or PENDING.
332 if (current->state_ == Node::WEAK
353 if (current->state_ == Node::WEAK) {
366 // Process weak global handle callbacks. This must be done after the
376 // Weak callback triggered another GC and another round of
446 if (current->state_ == Node::WEAK) {
462 int weak = 0;
469 if (current->state_ == Node::WEAK) weak++;
477 PrintF(" # weak = %d\n", weak);
487 PrintF(" handle %p to %p (weak=%d)\n", current->handle().location(),
488 *current->handle(), current->state_ == Node::WEAK);