V8 Project
v8::internal::Heap::RelocationLock Class Reference

#include <heap.h>

+ Collaboration diagram for v8::internal::Heap::RelocationLock:

Public Member Functions

 RelocationLock (Heap *heap)
 
 ~RelocationLock ()
 

Private Attributes

Heapheap_
 

Detailed Description

Definition at line 1330 of file heap.h.

Constructor & Destructor Documentation

◆ RelocationLock()

v8::internal::Heap::RelocationLock::RelocationLock ( Heap heap)
inlineexplicit

Definition at line 1332 of file heap.h.

1332  : heap_(heap) {
1333  heap_->relocation_mutex_.Lock();
1334  }
base::Mutex relocation_mutex_
Definition: heap.h:2019

References heap_, and v8::internal::Heap::relocation_mutex_.

◆ ~RelocationLock()

v8::internal::Heap::RelocationLock::~RelocationLock ( )
inline

Definition at line 1337 of file heap.h.

1337 { heap_->relocation_mutex_.Unlock(); }

References heap_, and v8::internal::Heap::relocation_mutex_.

Member Data Documentation

◆ heap_

Heap* v8::internal::Heap::RelocationLock::heap_
private

Definition at line 1340 of file heap.h.

Referenced by RelocationLock(), and ~RelocationLock().


The documentation for this class was generated from the following file: