[heap] Make read-only MemoryChunk field conditionally optional [v8/v8 : main]

0 views
Skip to first unread message

Michael Lippautz (Gerrit)

unread,
Sep 3, 2025, 11:07:00 AMSep 3
to Leszek Swirski, Dominik Inführ, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ and Leszek Swirski

Michael Lippautz voted and added 1 comment

Votes added by Michael Lippautz

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 15 (Latest):
Michael Lippautz . resolved

Dominik: Overall
Leszek: Compiler parts

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
  • Leszek Swirski
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
Gerrit-Change-Number: 6905432
Gerrit-PatchSet: 15
Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Comment-Date: Wed, 03 Sep 2025 15:06:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
Sep 3, 2025, 12:00:20 PMSep 3
to Michael Lippautz, Leszek Swirski, Dominik Inführ, AyeAye, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ, Leszek Swirski and Michael Lippautz

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/11794339910000

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
Gerrit-Change-Number: 6905432
Gerrit-PatchSet: 15
Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Wed, 03 Sep 2025 16:00:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
Sep 3, 2025, 12:01:56 PMSep 3
to Michael Lippautz, Leszek Swirski, Dominik Inführ, AyeAye, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ, Leszek Swirski and Michael Lippautz

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/jetstream2 complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/11590f5c510000

Gerrit-Comment-Date: Wed, 03 Sep 2025 16:01:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Sep 3, 2025, 12:16:22 PMSep 3
to Leszek Swirski, Dominik Inführ, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ and Leszek Swirski

Michael Lippautz added 1 comment

File src/heap/memory-chunk-metadata.h
Line 337, Patchset 15 (Latest): using IsReadOnlyPageField = IsSealedReadOnlySpaceField::Next<bool, 1>;
Michael Lippautz . unresolved

Dominik: I finally spent this an explicit bit as there's various corner cases with the `owner()` tracking.

Lateset example: There's a state when metadata doesn't have an `owner_` anymore (after PreFree) and it looks like a RO page. We also call an accessor there that makes us fail a check in this case if we don't have an explicit bit.

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
  • Leszek Swirski
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
    Gerrit-Change-Number: 6905432
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Comment-Date: Wed, 03 Sep 2025 16:16:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Leszek Swirski (Gerrit)

    unread,
    Sep 3, 2025, 1:02:50 PMSep 3
    to Michael Lippautz, Dominik Inführ, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ and Michael Lippautz

    Leszek Swirski voted and added 4 comments

    Votes added by Leszek Swirski

    Code-Review+1

    4 comments

    File src/codegen/arm64/macro-assembler-arm64.cc
    Line 3910, Patchset 15 (Latest): // This check is precise and will cover all RO values and smal Smi values.
    Leszek Swirski . unresolved

    Please fix this WARNING reported by Spellchecker: "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a foot...

    "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

    Line 4478, Patchset 15 (Latest): // This check is precise and will cover all RO values and smal Smi values.
    Leszek Swirski . unresolved

    Please fix this WARNING reported by Spellchecker: "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a foot...

    "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

    File src/compiler/backend/x64/code-generator-x64.cc
    Line 408, Patchset 15 (Latest):#if V8_ENABLE_STICKY_MARK_BITS_BOOL
    Leszek Swirski . unresolved

    maybe out of scope for this CL, but this path is only for sticky mark bits, and is out-of-line (deferred) -- there seems to be no matching RO fast check in the inlined `kArchStoreWithWriteBarrier`, which is perhaps an oversight?

    File src/objects/objects-inl.h
    Line 477, Patchset 15 (Latest):constexpr bool FastInReadOnlySpaceOrSmallSmi<V8HeapCompressionScheme>(
    Leszek Swirski . unresolved

    this is actually compression scheme independent, right? At least for CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    • Michael Lippautz
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
    Gerrit-Change-Number: 6905432
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Wed, 03 Sep 2025 17:02:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Sep 3, 2025, 1:53:36 PMSep 3
    to Michael Lippautz, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Michael Lippautz

    Dominik Inführ voted and added 3 comments

    Votes added by Dominik Inführ

    Code-Review+1

    3 comments

    Patchset-level comments
    Dominik Inführ . resolved

    Thanks, LGTM

    File src/heap/memory-chunk-metadata.h
    Line 337, Patchset 15 (Latest): using IsReadOnlyPageField = IsSealedReadOnlySpaceField::Next<bool, 1>;
    Michael Lippautz . resolved

    Dominik: I finally spent this an explicit bit as there's various corner cases with the `owner()` tracking.

    Lateset example: There's a state when metadata doesn't have an `owner_` anymore (after PreFree) and it looks like a RO page. We also call an accessor there that makes us fail a check in this case if we don't have an explicit bit.

    Dominik Inführ

    Acknowledged

    File src/objects/objects-inl.h
    Line 477, Patchset 15 (Latest):constexpr bool FastInReadOnlySpaceOrSmallSmi<V8HeapCompressionScheme>(
    Leszek Swirski . unresolved

    this is actually compression scheme independent, right? At least for CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL

    Dominik Inführ

    In the function below we seem to DCHECK this as well. But I suppose now after your previous CL we should be able to do this for all 3 cages, right?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Lippautz
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
    Gerrit-Change-Number: 6905432
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Wed, 03 Sep 2025 17:53:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Sep 3, 2025, 4:01:45 PMSep 3
    to Dominik Inführ, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ and Leszek Swirski

    Michael Lippautz added 1 comment

    File src/objects/objects-inl.h
    Line 477, Patchset 15 (Latest):constexpr bool FastInReadOnlySpaceOrSmallSmi<V8HeapCompressionScheme>(
    Leszek Swirski . unresolved

    this is actually compression scheme independent, right? At least for CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL

    Dominik Inführ

    In the function below we seem to DCHECK this as well. But I suppose now after your previous CL we should be able to do this for all 3 cages, right?

    Michael Lippautz

    The idea here is the following:

    • The function below (L493++) takes a `Tagged<MaybeObject>` and DCHECKs that `obj` is in the main cage.
    • This function here takes only `Tagged_t` which could in theory come also from an `ExternalCodeCompressionScheme`. With the template parameter the caller guarantees that this is indeed a cage which is nicely 4G aligned and thus `<` works.

    `Tagged_t` coming from `ExternalCodeCompressionScheme` would not work with the `<` check as the base is not 4G aligned.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    • Leszek Swirski
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
    Gerrit-Change-Number: 6905432
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Comment-Date: Wed, 03 Sep 2025 20:01:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Sep 4, 2025, 1:58:34 AMSep 4
    to Michael Lippautz, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Leszek Swirski and Michael Lippautz

    Dominik Inführ added 1 comment

    File src/objects/objects-inl.h
    Line 477, Patchset 15 (Latest):constexpr bool FastInReadOnlySpaceOrSmallSmi<V8HeapCompressionScheme>(
    Leszek Swirski . unresolved

    this is actually compression scheme independent, right? At least for CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL

    Dominik Inführ

    In the function below we seem to DCHECK this as well. But I suppose now after your previous CL we should be able to do this for all 3 cages, right?

    Michael Lippautz

    The idea here is the following:

    • The function below (L493++) takes a `Tagged<MaybeObject>` and DCHECKs that `obj` is in the main cage.
    • This function here takes only `Tagged_t` which could in theory come also from an `ExternalCodeCompressionScheme`. With the template parameter the caller guarantees that this is indeed a cage which is nicely 4G aligned and thus `<` works.

    `Tagged_t` coming from `ExternalCodeCompressionScheme` would not work with the `<` check as the base is not 4G aligned.

    Dominik Inführ

    Right, but I thought that's the reason we also carved out the 8M red zone potentially in the middle of the code cage to prevent compressed values being less than 8M (and also main + trusted cages). Such that this comparison would be allowed on objects of all cages.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Leszek Swirski
    • Michael Lippautz
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
    Gerrit-Change-Number: 6905432
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Thu, 04 Sep 2025 05:58:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Sep 16, 2025, 7:38:56 AMSep 16
    to Dominik Inführ, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ and Leszek Swirski

    Michael Lippautz added 4 comments

    File src/codegen/arm64/macro-assembler-arm64.cc
    Line 3910, Patchset 15: // This check is precise and will cover all RO values and smal Smi values.
    Leszek Swirski . resolved

    Please fix this WARNING reported by Spellchecker: "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a foot...

    "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

    Michael Lippautz

    Done

    Line 4478, Patchset 15: // This check is precise and will cover all RO values and smal Smi values.
    Leszek Swirski . resolved

    Please fix this WARNING reported by Spellchecker: "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a foot...

    "smal" is a possible misspelling of "small".

    To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

    Michael Lippautz

    Done

    File src/compiler/backend/x64/code-generator-x64.cc
    Line 408, Patchset 15:#if V8_ENABLE_STICKY_MARK_BITS_BOOL
    Leszek Swirski . resolved

    maybe out of scope for this CL, but this path is only for sticky mark bits, and is out-of-line (deferred) -- there seems to be no matching RO fast check in the inlined `kArchStoreWithWriteBarrier`, which is perhaps an oversight?

    Michael Lippautz

    Yeah, let's do an independent change for that.

    File src/objects/objects-inl.h
    Line 477, Patchset 15:constexpr bool FastInReadOnlySpaceOrSmallSmi<V8HeapCompressionScheme>(
    Leszek Swirski . resolved

    this is actually compression scheme independent, right? At least for CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL

    Dominik Inführ

    In the function below we seem to DCHECK this as well. But I suppose now after your previous CL we should be able to do this for all 3 cages, right?

    Michael Lippautz

    The idea here is the following:

    • The function below (L493++) takes a `Tagged<MaybeObject>` and DCHECKs that `obj` is in the main cage.
    • This function here takes only `Tagged_t` which could in theory come also from an `ExternalCodeCompressionScheme`. With the template parameter the caller guarantees that this is indeed a cage which is nicely 4G aligned and thus `<` works.

    `Tagged_t` coming from `ExternalCodeCompressionScheme` would not work with the `<` check as the base is not 4G aligned.

    Dominik Inführ

    Right, but I thought that's the reason we also carved out the 8M red zone potentially in the middle of the code cage to prevent compressed values being less than 8M (and also main + trusted cages). Such that this comparison would be allowed on objects of all cages.

    Michael Lippautz

    True, thanks for noting!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    • Leszek Swirski
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
    Gerrit-Change-Number: 6905432
    Gerrit-PatchSet: 16
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Comment-Date: Tue, 16 Sep 2025 11:38:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Sep 25, 2025, 5:59:07 AMSep 25
    to Dominik Inführ, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ and Leszek Swirski

    Michael Lippautz added 1 comment

    File src/compiler/backend/x64/code-generator-x64.cc
    Line 408, Patchset 15:#if V8_ENABLE_STICKY_MARK_BITS_BOOL
    Leszek Swirski . resolved

    maybe out of scope for this CL, but this path is only for sticky mark bits, and is out-of-line (deferred) -- there seems to be no matching RO fast check in the inlined `kArchStoreWithWriteBarrier`, which is perhaps an oversight?

    Michael Lippautz

    Yeah, let's do an independent change for that.

    Michael Lippautz

    Implemented this sparately and rebased on top.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    • Leszek Swirski
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • 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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
      Gerrit-Change-Number: 6905432
      Gerrit-PatchSet: 18
      Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
      Gerrit-CC: Hannes Payer <hpa...@chromium.org>
      Gerrit-Attention: Leszek Swirski <les...@chromium.org>
      Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Comment-Date: Thu, 25 Sep 2025 09:59:02 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
      Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Michael Lippautz (Gerrit)

      unread,
      Dec 15, 2025, 11:36:10 AM (19 hours ago) Dec 15
      to Dominik Inführ, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
      Attention needed from Dominik Inführ and Leszek Swirski

      Michael Lippautz voted and added 2 comments

      Votes added by Michael Lippautz

      Commit-Queue+1

      2 comments

      Patchset-level comments
      File-level comment, Patchset 19 (Latest):
      Michael Lippautz . resolved

      I think this can now land \o/ ptal again

      File src/codegen/arm64/macro-assembler-arm64.cc
      Line 3684, Patchset 19 (Parent):#if V8_STATIC_ROOTS_BOOL && CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL
      Michael Lippautz . unresolved

      I am not sure why the flags were merged in here: https://chromium-review.googlesource.com/c/v8/v8/+/7210945

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dominik Inführ
      • Leszek Swirski
      Submit Requirements:
        • requirement 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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
        Gerrit-Change-Number: 6905432
        Gerrit-PatchSet: 19
        Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
        Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
        Gerrit-CC: Hannes Payer <hpa...@chromium.org>
        Gerrit-Attention: Leszek Swirski <les...@chromium.org>
        Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Comment-Date: Mon, 15 Dec 2025 16:36:05 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Michael Lippautz (Gerrit)

        unread,
        4:13 AM (2 hours ago) 4:13 AM
        to Dominik Inführ, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
        Attention needed from Dominik Inführ and Leszek Swirski

        Michael Lippautz added 1 comment

        File src/codegen/arm64/macro-assembler-arm64.cc
        Line 3684, Patchset 19 (Parent):#if V8_STATIC_ROOTS_BOOL && CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL
        Michael Lippautz . unresolved

        I am not sure why the flags were merged in here: https://chromium-review.googlesource.com/c/v8/v8/+/7210945

        Michael Lippautz

        Now that I think of this: Maybe it should be combined again because only contiguous RO space guaranteees that all the pages are indeed consecutive. Mhm

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dominik Inführ
        • Leszek Swirski
        Submit Requirements:
        • requirement 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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
        Gerrit-Change-Number: 6905432
        Gerrit-PatchSet: 22
        Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
        Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
        Gerrit-CC: Hannes Payer <hpa...@chromium.org>
        Gerrit-Attention: Leszek Swirski <les...@chromium.org>
        Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Comment-Date: Tue, 16 Dec 2025 09:13:34 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Leszek Swirski (Gerrit)

        unread,
        4:32 AM (2 hours ago) 4:32 AM
        to Michael Lippautz, Dominik Inführ, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
        Attention needed from Dominik Inführ and Michael Lippautz

        Leszek Swirski added 1 comment

        File src/codegen/arm64/macro-assembler-arm64.cc
        Line 3684, Patchset 19 (Parent):#if V8_STATIC_ROOTS_BOOL && CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL
        Michael Lippautz . unresolved

        I am not sure why the flags were merged in here: https://chromium-review.googlesource.com/c/v8/v8/+/7210945

        Michael Lippautz

        Now that I think of this: Maybe it should be combined again because only contiguous RO space guaranteees that all the pages are indeed consecutive. Mhm

        Leszek Swirski

        Yeah that was the reason for my suggestion to merge the flags -- in our reality, they're merged anyway, and I asked cloudflare to enable CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE for their config so that we can consider it equivalent to V8_STATIC_ROOTS

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dominik Inführ
        • Michael Lippautz
        Submit Requirements:
        • requirement 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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
        Gerrit-Change-Number: 6905432
        Gerrit-PatchSet: 22
        Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
        Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
        Gerrit-CC: Hannes Payer <hpa...@chromium.org>
        Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Comment-Date: Tue, 16 Dec 2025 09:32:21 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Michael Lippautz (Gerrit)

        unread,
        4:41 AM (2 hours ago) 4:41 AM
        to Dominik Inführ, Leszek Swirski, AyeAye, chrom...@appspot.gserviceaccount.com, V8 LUCI CQ, Hannes Payer, v8-risc...@chromium.org, leszek...@chromium.org, verwaes...@chromium.org, victorgo...@chromium.org, was...@google.com, dmercadi...@chromium.org, mlippau...@chromium.org, v8-re...@googlegroups.com
        Attention needed from Dominik Inführ and Leszek Swirski

        Michael Lippautz voted and added 1 comment

        Votes added by Michael Lippautz

        Commit-Queue+1

        1 comment

        File src/codegen/arm64/macro-assembler-arm64.cc
        Line 3684, Patchset 19 (Parent):#if V8_STATIC_ROOTS_BOOL && CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE_BOOL
        Michael Lippautz . unresolved

        I am not sure why the flags were merged in here: https://chromium-review.googlesource.com/c/v8/v8/+/7210945

        Michael Lippautz

        Now that I think of this: Maybe it should be combined again because only contiguous RO space guaranteees that all the pages are indeed consecutive. Mhm

        Leszek Swirski

        Yeah that was the reason for my suggestion to merge the flags -- in our reality, they're merged anyway, and I asked cloudflare to enable CONTIGUOUS_COMPRESSED_READ_ONLY_SPACE for their config so that we can consider it equivalent to V8_STATIC_ROOTS

        Michael Lippautz

        Thanks for confirming. I reverted these changes except for using the proper constant now for the bailouts.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dominik Inführ
        • Leszek Swirski
        Submit Requirements:
        • requirement 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: Ia00fc9d27b8a68a77c4cc88ef002e9967acb4346
        Gerrit-Change-Number: 6905432
        Gerrit-PatchSet: 23
        Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
        Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
        Gerrit-CC: Hannes Payer <hpa...@chromium.org>
        Gerrit-Attention: Leszek Swirski <les...@chromium.org>
        Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
        Gerrit-Comment-Date: Tue, 16 Dec 2025 09:41:11 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages