[sandbox] Simplify JSDispatchTable read only allocation [v8/v8 : main]

0 views
Skip to first unread message

Omer Katz (Gerrit)

unread,
Feb 2, 2026, 8:19:26 PM (2 days ago) Feb 2
to Michael Lippautz, V8 LUCI CQ, v8-re...@googlegroups.com
Attention needed from Michael Lippautz

Omer Katz added 2 comments

Patchset-level comments
File src/execution/isolate.cc
Line 8009, Patchset 5 (Parent):base::LazyMutex read_only_dispatch_entries_mutex_ = LAZY_MUTEX_INITIALIZER;
Omer Katz . unresolved

This mutex should no longer be needed since each isolate owns their own read only space now.

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: If97670946eca3f356cd694bd6d742e8cfae4c9f9
Gerrit-Change-Number: 7531744
Gerrit-PatchSet: 5
Gerrit-Owner: Omer Katz <omer...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Omer Katz <omer...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Tue, 03 Feb 2026 01:19:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Omer Katz (Gerrit)

unread,
2:00 AM (2 hours ago) 2:00 AM
to Michael Lippautz, V8 LUCI CQ, v8-re...@googlegroups.com
Attention needed from Michael Lippautz

Omer Katz added 1 comment

Patchset-level comments
Omer Katz . resolved

ping

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: If97670946eca3f356cd694bd6d742e8cfae4c9f9
Gerrit-Change-Number: 7531744
Gerrit-PatchSet: 5
Gerrit-Owner: Omer Katz <omer...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Omer Katz <omer...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Wed, 04 Feb 2026 07:00:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
2:51 AM (1 hour ago) 2:51 AM
to Omer Katz, V8 LUCI CQ, v8-re...@googlegroups.com
Attention needed from Omer Katz

Michael Lippautz added 1 comment

File src/sandbox/js-dispatch-table.cc
Line 59, Patchset 5 (Parent): DCHECK_EQ(IndexToHandle(idx), IndexToHandle(HandleToIndex(first) + i));
}
CHECK_EQ(IndexToHandle(idx), GetStaticHandleForReadOnlySegmentEntry(i));
Michael Lippautz . unresolved

Don't we rely on this somewhere? I guess the regular allocation method work but we should still make sure we preserve the invariant?

Open in Gerrit

Related details

Attention is currently required from:
  • Omer Katz
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: If97670946eca3f356cd694bd6d742e8cfae4c9f9
Gerrit-Change-Number: 7531744
Gerrit-PatchSet: 5
Gerrit-Owner: Omer Katz <omer...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Omer Katz <omer...@chromium.org>
Gerrit-Attention: Omer Katz <omer...@chromium.org>
Gerrit-Comment-Date: Wed, 04 Feb 2026 07:51:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages