[strings] Remove unused NewStringFromUtf8SubString [v8/v8 : main]

1 view
Skip to first unread message

Maksim Ivanov (Gerrit)

unread,
Apr 2, 2026, 9:13:02 PM (3 days ago) Apr 2
to Deepti Gandluri, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Deepti Gandluri

Maksim Ivanov voted and added 1 comment

Votes added by Maksim Ivanov

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Maksim Ivanov . resolved

gdeepti@: Could you PTAL - asking as Europe folks are on a long weekend? This is CL#2/2 to prevent Clang roll blockers.

Open in Gerrit

Related details

Attention is currently required from:
  • Deepti Gandluri
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: Iccde9c157c07727f57c7d5a81b1096ab0ebcbc1b
Gerrit-Change-Number: 7725867
Gerrit-PatchSet: 2
Gerrit-Owner: Maksim Ivanov <em...@chromium.org>
Gerrit-Reviewer: Deepti Gandluri <gde...@chromium.org>
Gerrit-Reviewer: Maksim Ivanov <em...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Deepti Gandluri <gde...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 01:12:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Deepti Gandluri (Gerrit)

unread,
Apr 3, 2026, 1:36:37 PM (3 days ago) Apr 3
to Maksim Ivanov, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Maksim Ivanov

Deepti Gandluri voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Maksim Ivanov
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: Iccde9c157c07727f57c7d5a81b1096ab0ebcbc1b
Gerrit-Change-Number: 7725867
Gerrit-PatchSet: 3
Gerrit-Owner: Maksim Ivanov <em...@chromium.org>
Gerrit-Reviewer: Deepti Gandluri <gde...@chromium.org>
Gerrit-Reviewer: Maksim Ivanov <em...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Maksim Ivanov <em...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 17:36:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Maksim Ivanov (Gerrit)

unread,
Apr 3, 2026, 3:05:38 PM (3 days ago) Apr 3
to Deepti Gandluri, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com

Maksim Ivanov voted and added 1 comment

Votes added by Maksim Ivanov

Auto-Submit+1
Commit-Queue+2

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Maksim Ivanov . resolved

thank you!

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: Iccde9c157c07727f57c7d5a81b1096ab0ebcbc1b
Gerrit-Change-Number: 7725867
Gerrit-PatchSet: 3
Gerrit-Owner: Maksim Ivanov <em...@chromium.org>
Gerrit-Reviewer: Deepti Gandluri <gde...@chromium.org>
Gerrit-Reviewer: Maksim Ivanov <em...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 19:05:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

V8 LUCI CQ (Gerrit)

unread,
Apr 3, 2026, 3:08:35 PM (3 days ago) Apr 3
to Maksim Ivanov, Deepti Gandluri, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com

V8 LUCI CQ submitted the change

Change information

Commit message:
[strings] Remove unused NewStringFromUtf8SubString

Remove Factory::NewStringFromUtf8SubString() - it seems to have been
unused since crrev.com/c/1108208.

This function's code triggers Wlifetime-safety warnings on ToT Clang,
due to potentially GC-unsafe code:

src/heap/factory.cc:983:51: error: object whose reference is captured
does not live long enough [-Werror,-Wlifetime-safety-use-after-scope]
983 | base::Vector<const uint8_t>(str->GetChars(no_gc) + begin, length);
| ^~~~~
src/heap/factory.cc:984:3: note: destroyed here
984 | }
| ^
src/heap/factory.cc:985:23: note: later used here
985 | Utf8Decoder decoder(utf8_data);
| ^~~~~~~~~
Bug: 482994758, 491707176
Change-Id: Iccde9c157c07727f57c7d5a81b1096ab0ebcbc1b
Auto-Submit: Maksim Ivanov <em...@chromium.org>
Reviewed-by: Deepti Gandluri <gde...@chromium.org>
Commit-Queue: Maksim Ivanov <em...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#106263}
Files:
  • M src/heap/factory.cc
  • M src/heap/factory.h
  • M test/unittests/strings/unicode-unittest.cc
Change size: M
Delta: 3 files changed, 0 insertions(+), 124 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Deepti Gandluri
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Iccde9c157c07727f57c7d5a81b1096ab0ebcbc1b
Gerrit-Change-Number: 7725867
Gerrit-PatchSet: 4
Gerrit-Owner: Maksim Ivanov <em...@chromium.org>
Gerrit-Reviewer: Deepti Gandluri <gde...@chromium.org>
Gerrit-Reviewer: Maksim Ivanov <em...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages