Lines Matching defs:isolate

14 #include "src/execution/isolate.h"
92 Isolate* isolate) {
96 void SingleCopyReadOnlyArtifacts::Initialize(Isolate* isolate,
103 ? isolate->page_allocator()
108 std::make_unique<SharedReadOnlySpace>(isolate->heap(), this));
111 void SingleCopyReadOnlyArtifacts::ReinstallReadOnlySpace(Isolate* isolate) {
112 isolate->heap()->ReplaceReadOnlySpace(shared_read_only_space());
116 Isolate* isolate) {
120 DCHECK_EQ(read_only_heap(), isolate->read_only_heap());
121 DCHECK_EQ(shared_read_only_space(), isolate->heap()->read_only_space());
124 void PointerCompressedReadOnlyArtifacts::InitializeRootsFrom(Isolate* isolate) {
126 isolate->roots_table().read_only_roots_begin().location();
130 void PointerCompressedReadOnlyArtifacts::InitializeRootsIn(Isolate* isolate) {
132 isolate->roots_table().read_only_roots_begin().location();
134 isolate->isolate_root());
138 Isolate* isolate) {
144 Address isolate_root = isolate->isolate_root();
150 bool success = isolate->heap()
171 new SharedReadOnlySpace(isolate->heap(), std::move(pages),
177 Isolate* isolate) {
179 InitializeRootsIn(isolate);
181 SharedReadOnlySpace* shared_read_only_space = CreateReadOnlySpace(isolate);
188 Address isolate_root = isolate->isolate_root();
213 Isolate* isolate, std::vector<ReadOnlyPage*>&& pages,
249 InitializeRootsFrom(isolate);
251 std::make_unique<SharedReadOnlySpace>(isolate->heap(), this));
255 Isolate* isolate) {
258 Heap* heap = isolate->heap();
261 heap->ReplaceReadOnlySpace(CreateReadOnlySpace(heap->isolate()));
266 auto* ro_heap = new ReadOnlyHeap(isolate->read_only_heap(),
267 isolate->heap()->read_only_space());
268 isolate->set_read_only_heap(ro_heap);
270 DCHECK_NE(*isolate->roots_table().read_only_roots_begin().location(), 0);
274 Isolate* isolate) {
279 DCHECK_NE(shared_read_only_space(), isolate->heap()->read_only_space());
280 DCHECK_NE(read_only_heap(), isolate->read_only_heap());
282 DCHECK_EQ(isolate->read_only_heap()->read_only_space(),
283 isolate->heap()->read_only_space());
293 is_string_padding_cleared_(heap->isolate()->initialized_from_snapshot()),
329 artifacts->Initialize(heap->isolate(), std::move(pages_), accounting_stats_);
513 void ReadOnlySpace::Verify(Isolate* isolate) const {
515 VerifyReadOnlyPointersVisitor visitor(isolate->heap());
527 ReadOnlySpaceObjectIterator it(isolate->heap(), this, page);
538 object.ObjectVerify(isolate);
556 VerifyCounters(isolate->heap());
735 PrintIsolate(heap()->isolate(), "Shrinking page %p: end %p -> %p\n",