Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.39',
'v8_embedder_string': '-node.40',

##### V8 defaults for Node.js #####

Expand Down
4 changes: 4 additions & 0 deletions deps/v8/src/objects/code.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ void Code::SetMarkedForDeoptimization(Isolate* isolate,
} else {
jdt.SetCodeNoWriteBarrier(handle, *BUILTIN_CODE(isolate, CompileLazy));
}
// TODO(olivf, 525686865): Fix the race in dispatch handle marking by
// going back to a CAS loop.
static_assert(JSDispatchTable::kWriteBarrierSetsEntryMarkBit);
jdt.Mark(handle);
}
// Ensure we don't try to patch the entry multiple times.
set_js_dispatch_handle(kNullJSDispatchHandle);
Expand Down
Loading