Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::WritableVMIsolateScope Class Reference

#include <heap.h>

Inheritance diagram for dart::WritableVMIsolateScope:
dart::ThreadStackResource

Public Member Functions

 WritableVMIsolateScope (Thread *thread)
 
 ~WritableVMIsolateScope ()
 

Detailed Description

Definition at line 430 of file heap.h.

Constructor & Destructor Documentation

◆ WritableVMIsolateScope()

dart::WritableVMIsolateScope::WritableVMIsolateScope ( Thread thread)
explicit

Definition at line 1149 of file heap.cc.

1150 : ThreadStackResource(thread) {
1151 if (FLAG_write_protect_code && FLAG_write_protect_vm_isolate) {
1153 }
1154}
static IsolateGroup * vm_isolate_group()
Definition dart.h:69
void WriteProtect(bool read_only)
Definition heap.cc:687
Heap * heap() const
Definition isolate.h:295

◆ ~WritableVMIsolateScope()

dart::WritableVMIsolateScope::~WritableVMIsolateScope ( )

Definition at line 1156 of file heap.cc.

1156 {
1157 ASSERT(Dart::vm_isolate_group()->heap()->UsedInWords(Heap::kNew) == 0);
1158 if (FLAG_write_protect_code && FLAG_write_protect_vm_isolate) {
1160 }
1161}
@ kNew
Definition heap.h:38
#define ASSERT(E)

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