v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::SealHandleScope Class Reference

#include <v8-local-handle.h>

Collaboration diagram for v8::SealHandleScope:

Public Member Functions

 SealHandleScope (Isolate *isolate)
 
 ~SealHandleScope ()
 
 SealHandleScope (const SealHandleScope &)=delete
 
void operator= (const SealHandleScope &)=delete
 
void * operator new (size_t size)=delete
 
void * operator new[] (size_t size)=delete
 
void operator delete (void *, size_t)=delete
 
void operator delete[] (void *, size_t)=delete
 

Private Attributes

internal::Isolate *const i_isolate_
 
internal::Addressprev_limit_
 
int prev_sealed_level_
 

Detailed Description

A SealHandleScope acts like a handle scope in which no handle allocations are allowed. It can be useful for debugging handle leaks. Handles can be allocated within inner normal HandleScopes.

Definition at line 765 of file v8-local-handle.h.

Constructor & Destructor Documentation

◆ SealHandleScope() [1/2]

v8::SealHandleScope::SealHandleScope ( Isolate * isolate)
explicit

Definition at line 761 of file api.cc.

Here is the call graph for this function:

◆ ~SealHandleScope()

v8::SealHandleScope::~SealHandleScope ( )

Definition at line 770 of file api.cc.

Here is the call graph for this function:

◆ SealHandleScope() [2/2]

v8::SealHandleScope::SealHandleScope ( const SealHandleScope & )
delete

Member Function Documentation

◆ operator delete()

void v8::SealHandleScope::operator delete ( void * ,
size_t  )
delete

◆ operator delete[]()

void v8::SealHandleScope::operator delete[] ( void * ,
size_t  )
delete

◆ operator new()

void * v8::SealHandleScope::operator new ( size_t size)
delete

◆ operator new[]()

void * v8::SealHandleScope::operator new[] ( size_t size)
delete

◆ operator=()

void v8::SealHandleScope::operator= ( const SealHandleScope & )
delete

Member Data Documentation

◆ i_isolate_

internal::Isolate* const v8::SealHandleScope::i_isolate_
private

Definition at line 778 of file v8-local-handle.h.

◆ prev_limit_

internal::Address* v8::SealHandleScope::prev_limit_
private

Definition at line 779 of file v8-local-handle.h.

◆ prev_sealed_level_

int v8::SealHandleScope::prev_sealed_level_
private

Definition at line 780 of file v8-local-handle.h.


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