Lines Matching refs:global_handles

87   void Acquire(Object* object, GlobalHandles* global_handles) {
95 IncreaseBlockUses(global_handles);
98 void Release(GlobalHandles* global_handles) {
101 global_handles->number_of_weak_handles_--;
103 global_handles->number_of_global_object_weak_handles_--;
107 parameter_or_next_free_.next_free = global_handles->first_free_;
108 global_handles->first_free_ = this;
109 DecreaseBlockUses(global_handles);
184 void MakeWeak(GlobalHandles* global_handles,
189 global_handles->number_of_weak_handles_++;
191 global_handles->number_of_global_object_weak_handles_++;
199 void ClearWeakness(GlobalHandles* global_handles) {
202 global_handles->number_of_weak_handles_--;
204 global_handles->number_of_global_object_weak_handles_--;
212 GlobalHandles* global_handles) {
216 Release(global_handles);
243 inline void IncreaseBlockUses(GlobalHandles* global_handles);
244 inline void DecreaseBlockUses(GlobalHandles* global_handles);
297 void IncreaseUses(GlobalHandles* global_handles) {
300 NodeBlock* old_first = global_handles->first_used_block_;
301 global_handles->first_used_block_ = this;
309 void DecreaseUses(GlobalHandles* global_handles) {
314 if (this == global_handles->first_used_block_) {
315 global_handles->first_used_block_ = next_used_;
345 void GlobalHandles::Node::IncreaseBlockUses(GlobalHandles* global_handles) {
346 FindBlock()->IncreaseUses(global_handles);
350 void GlobalHandles::Node::DecreaseBlockUses(GlobalHandles* global_handles) {
351 FindBlock()->DecreaseUses(global_handles);
357 explicit NodeIterator(GlobalHandles* global_handles)
358 : block_(global_handles->first_used_block_),
406 isolate_->counters()->global_handles()->Increment();
427 isolate_->counters()->global_handles()->Decrement();