zos: add support for z/OS [v8/v8 : main]

0 views
Skip to first unread message

Michael Lippautz (Gerrit)

unread,
May 23, 2024, 3:19:31 AMMay 23
to Gaby Baghdadi, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Michael Lippautz added 7 comments

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

Thanks, did a first pass over `src/base` mostly which looks okay. `libsampler` can also be reworked to require less zOS specifics.

File src/base/debug/stack_trace_zos.cc
Line 24, Patchset 1 (Latest):bool startThread(void* (*threadEntry)(void*)) {
Michael Lippautz . unresolved

nit: CamelCase

Line 31, Patchset 1 (Latest): const size_t default_stack_size = 4 * 1024 * 1024;
Michael Lippautz . unresolved

constexpr size_t kDefaultStackSize

File src/base/platform/platform-posix.cc
Line 104, Patchset 1 (Latest):const pthread_t kNoThread = static_cast<pthread_t>(0);
Michael Lippautz . unresolved

Why is the initializer not working?

Line 734, Patchset 1 (Latest): // TODO(gabylb): zos - implement when a debugger is supported.
Michael Lippautz . unresolved

Let's use t he tracking bug here.

It's concerning that this is the only platform that doesn't support debug break.

Line 873, Patchset 1 (Latest): // TODO(gabylb): zos - rusage struct doesn't yet include ru_maxrss
Michael Lippautz . unresolved

Same here: Let's use the tracking bug.

File src/libsampler/sampler.h
Line 157, Patchset 1 (Latest): std::unordered_map<pthread_t, SamplerList> sampler_map_;
Michael Lippautz . unresolved

I think if `Sampler::PlatformData` would not store a `pthread_t` that is initialized from `pthread_self()` but rather the result of `OS::GetCurrentThreadId()` (as `int`) then this would not require any `ThreadKey()` magic in the .cc file.

https://source.chromium.org/chromium/chromium/src/+/main:v8/src/libsampler/sampler.cc;drc=c0265133106c7647e90f9aaa4377d28190b1a6a9;bpv=1;bpt=1;l=198

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 1
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Thu, 23 May 2024 07:19:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
May 23, 2024, 10:44:52 PMMay 23
to Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Michael Lippautz

Gaby Baghdadi added 7 comments

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Gaby Baghdadi . resolved

Thanks Michael for your feedback. Please see updates in the patchset 2.

File src/base/debug/stack_trace_zos.cc
Line 24, Patchset 1:bool startThread(void* (*threadEntry)(void*)) {
Michael Lippautz . resolved

nit: CamelCase

Gaby Baghdadi

Done

Line 31, Patchset 1: const size_t default_stack_size = 4 * 1024 * 1024;
Michael Lippautz . resolved

constexpr size_t kDefaultStackSize

Gaby Baghdadi

Done

File src/base/platform/platform-posix.cc
Line 104, Patchset 1:const pthread_t kNoThread = static_cast<pthread_t>(0);
Michael Lippautz . resolved

Why is the initializer not working?

Gaby Baghdadi

pthread_t on z/OS is a struct (one unsigned long long member). I've added a comment in Patchset 2.

Line 734, Patchset 1: // TODO(gabylb): zos - implement when a debugger is supported.
Michael Lippautz . resolved

Let's use t he tracking bug here.

It's concerning that this is the only platform that doesn't support debug break.

Gaby Baghdadi

Done

Line 873, Patchset 1: // TODO(gabylb): zos - rusage struct doesn't yet include ru_maxrss
Michael Lippautz . resolved

Same here: Let's use the tracking bug.

Gaby Baghdadi

Done

File src/libsampler/sampler.h
Line 157, Patchset 1: std::unordered_map<pthread_t, SamplerList> sampler_map_;
Michael Lippautz . resolved

I think if `Sampler::PlatformData` would not store a `pthread_t` that is initialized from `pthread_self()` but rather the result of `OS::GetCurrentThreadId()` (as `int`) then this would not require any `ThreadKey()` magic in the .cc file.

https://source.chromium.org/chromium/chromium/src/+/main:v8/src/libsampler/sampler.cc;drc=c0265133106c7647e90f9aaa4377d28190b1a6a9;bpv=1;bpt=1;l=198

Gaby Baghdadi

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 3
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Fri, 24 May 2024 02:44:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
May 24, 2024, 2:38:11 AMMay 24
to Gaby Baghdadi, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Michael Lippautz added 5 comments

File src/d8/d8-posix.cc
Line 7, Patchset 3 (Latest):#ifndef __MVS__
Michael Lippautz . unresolved

`V8_OS_ZOS`

What is is the include for?

File src/execution/execution.cc
Line 420, Patchset 3 (Latest): LESavStackAsync::getInstance().save(new_sp); // from zoslib
Michael Lippautz . unresolved

What is this needed for? As you can see, this part of the code is generally platform agnostic.

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3 (Latest): // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . unresolved

Why? What would need to be fixed?

Line 28, Patchset 3 (Latest):void DeclareLabelProlog(FILE* fp, const char* name);
Michael Lippautz . unresolved

How about adding an empty virtual `DeclareLabelProlog()` and epilogue to the file write baser and only overriding that for zos?

Line 27, Patchset 3 (Latest):#ifdef __MVS__
Michael Lippautz . unresolved

Here and below: `V8_OS_ZOS`

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 3
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Fri, 24 May 2024 06:38:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
May 24, 2024, 4:07:05 AMMay 24
to Gaby Baghdadi, Milad Farazmand, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Milad Farazmand

Michael Lippautz added 1 comment

Patchset-level comments
Michael Lippautz . resolved

Milad, can you review the *s390* changes?

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Milad Farazmand
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 3
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Fri, 24 May 2024 08:07:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
May 24, 2024, 12:45:12 PMMay 24
to Gaby Baghdadi, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Michael Lippautz

Milad Farazmand added 11 comments

Patchset-level comments
Milad Farazmand . resolved

Hi Gabby,

This CL is also failing a lot of tests on the simulator which need to be resolved.

Michael Lippautz . resolved

Milad, can you review the *s390* changes?

Milad Farazmand

Thanks for your help Michael.

File src/builtins/s390/builtins-s390.cc
Line 3275, Patchset 3 (Latest): // r2, r9: number of arguments including receiver (C callee-saved)
Milad Farazmand . unresolved

nit, extra space in comment.

File src/codegen/s390/assembler-s390.h
Line 61, Patchset 3 (Parent):#define ABI_USES_FUNCTION_DESCRIPTORS 0
Milad Farazmand . unresolved

curious on why this block had to be moved to constants-s390.h?

File src/codegen/s390/macro-assembler-s390.cc
Line 440, Patchset 3 (Latest): LoadMultipleP(r5, r6, MemOperand(ip, 0));
Milad Farazmand . unresolved

MemOperand(ip), `0` can be removed.

Line 2614, Patchset 3 (Latest): LoadMultipleP(r5, r6, MemOperand(function, 0));
Milad Farazmand . unresolved

`0` can be removed.

Line 5184, Patchset 3 (Latest): LoadU64(r5, MemOperand(scratch, 0));
Milad Farazmand . unresolved

`0` can be removed.

File src/codegen/s390/register-s390.h
Line 76, Patchset 3 (Latest):// they are passed in registers. To ensure stack slots are available to
Milad Farazmand . unresolved

nit, comment has extra spaces, i.e ` To ensure...`.

File src/regexp/s390/regexp-macro-assembler-s390.cc
Line 742, Patchset 3 (Latest): __ StoreMultipleP(r4, sp, MemOperand(r4, 0));
Milad Farazmand . unresolved

`0` can be removed.

Line 1033, Patchset 3 (Latest): __ LoadMultipleP(r4, sp, MemOperand(sp, 0));
Milad Farazmand . unresolved

`0` can be removed.

Line 1285, Patchset 3 (Latest): __ LoadMultipleP(r5, r6, MemOperand(ip, 0));
Milad Farazmand . unresolved

`0` can be removed.

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 3
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Fri, 24 May 2024 16:45:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
May 24, 2024, 4:23:05 PMMay 24
to Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Michael Lippautz and Milad Farazmand

Gaby Baghdadi added 16 comments

Patchset-level comments
Milad Farazmand . resolved

Hi Gabby,

This CL is also failing a lot of tests on the simulator which need to be resolved.

Gaby Baghdadi

I

File-level comment, Patchset 4 (Latest):
Gaby Baghdadi . resolved

Thanks Michael and Milad for your feedback. I had to revert the libsampler change (to use int vm_tid_), as the pthread_kill() in Sampler::DoSample() requires pthread_self() rather then GetCurrentThreadId(), and that regressed many tests in at least linux-s390x. Hopefully the original patch that uses new ThreadKey() will be accepted.

File src/builtins/s390/builtins-s390.cc
Line 3275, Patchset 3: // r2, r9: number of arguments including receiver (C callee-saved)
Milad Farazmand . resolved

nit, extra space in comment.

Gaby Baghdadi

Acknowledged

File src/codegen/s390/assembler-s390.h
Line 61, Patchset 3 (Parent):#define ABI_USES_FUNCTION_DESCRIPTORS 0
Milad Farazmand . unresolved

curious on why this block had to be moved to constants-s390.h?

Gaby Baghdadi
I have a comment about that in the CL's description (under 5a):
- Move define of ABI_USES_FUNCTION_DESCRIPTORS (1 for z/OS, 0 LoZ) and
related macros from assembler-s390.h to constants-s390.h, so that
for z/OS they're defined when checked, as in simulator.h
(which includes simulator-s390.h that includes constants-s390.h).
File src/codegen/s390/macro-assembler-s390.cc
Line 440, Patchset 3: LoadMultipleP(r5, r6, MemOperand(ip, 0));
Milad Farazmand . resolved

MemOperand(ip), `0` can be removed.

Gaby Baghdadi

Acknowledged

Line 2614, Patchset 3: LoadMultipleP(r5, r6, MemOperand(function, 0));
Milad Farazmand . resolved

`0` can be removed.

Gaby Baghdadi

Acknowledged

Line 5184, Patchset 3: LoadU64(r5, MemOperand(scratch, 0));
Milad Farazmand . resolved

`0` can be removed.

Gaby Baghdadi

Acknowledged

File src/codegen/s390/register-s390.h
Line 76, Patchset 3:// they are passed in registers. To ensure stack slots are available to
Milad Farazmand . resolved

nit, comment has extra spaces, i.e ` To ensure...`.

Gaby Baghdadi

Acknowledged

File src/d8/d8-posix.cc
Line 7, Patchset 3:#ifndef __MVS__
Michael Lippautz . unresolved

`V8_OS_ZOS`

What is is the include for?

Gaby Baghdadi

netinet/ip.h doesn't exist on z/OS, hence the added #ifndef.

File src/execution/execution.cc
Line 420, Patchset 3: LESavStackAsync::getInstance().save(new_sp); // from zoslib
Michael Lippautz . unresolved

What is this needed for? As you can see, this part of the code is generally platform agnostic.

Gaby Baghdadi

Please see https://github.com/ibmruntimes/zoslib/blob/main/include/zos-savstack.h#L21-L37. I'll remove it, and can revisit it if/when needed.

File src/regexp/s390/regexp-macro-assembler-s390.cc
Line 742, Patchset 3: __ StoreMultipleP(r4, sp, MemOperand(r4, 0));
Milad Farazmand . resolved

`0` can be removed.

Gaby Baghdadi

Acknowledged

Line 1033, Patchset 3: __ LoadMultipleP(r4, sp, MemOperand(sp, 0));
Milad Farazmand . resolved

`0` can be removed.

Gaby Baghdadi

Acknowledged

Line 1285, Patchset 3: __ LoadMultipleP(r5, r6, MemOperand(ip, 0));
Milad Farazmand . resolved

`0` can be removed.

Gaby Baghdadi

Acknowledged

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3: // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . unresolved

Why? What would need to be fixed?

Gaby Baghdadi

The "b" mode creates the file (embedded.s) as 'mixed' type, as opposed to binary or text, and the clang compiler fails to read it. Does the file created here need to be binary?

Line 28, Patchset 3:void DeclareLabelProlog(FILE* fp, const char* name);
Michael Lippautz . resolved

How about adding an empty virtual `DeclareLabelProlog()` and epilogue to the file write baser and only overriding that for zos?

Gaby Baghdadi

Acknowledged

Line 27, Patchset 3:#ifdef __MVS__
Michael Lippautz . resolved

Here and below: `V8_OS_ZOS`

Gaby Baghdadi

Acknowledged

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
  • Milad Farazmand
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 4
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Fri, 24 May 2024 20:23:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
Comment-In-Reply-To: Milad Farazmand <mfar...@redhat.com>
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
May 27, 2024, 4:41:53 AMMay 27
to Gaby Baghdadi, Leszek Swirski, Milad Farazmand, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi, Leszek Swirski and Milad Farazmand

Michael Lippautz added 3 comments

File src/d8/d8-posix.cc
Line 7, Patchset 3:#ifndef __MVS__
Michael Lippautz . unresolved

`V8_OS_ZOS`

What is is the include for?

Gaby Baghdadi

netinet/ip.h doesn't exist on z/OS, hence the added #ifndef.

Michael Lippautz

In that case it should be `ifndef V8_OS_ZOS`?

`__MVS__` is used for toggling `ZOS`. We should do that centrally and then use the more declarative name.

File src/execution/execution.cc
Line 420, Patchset 3: LESavStackAsync::getInstance().save(new_sp); // from zoslib
Michael Lippautz . resolved

What is this needed for? As you can see, this part of the code is generally platform agnostic.

Gaby Baghdadi

Please see https://github.com/ibmruntimes/zoslib/blob/main/include/zos-savstack.h#L21-L37. I'll remove it, and can revisit it if/when needed.

Michael Lippautz

I am not familiar with ZOS. The comment only describes what it does not not why. We should be able to provide proper reasoning why this is needed if we add it.

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3: // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . unresolved

Why? What would need to be fixed?

Gaby Baghdadi

The "b" mode creates the file (embedded.s) as 'mixed' type, as opposed to binary or text, and the clang compiler fails to read it. Does the file created here need to be binary?

Michael Lippautz

Adding @les...@chromium.org as an OWNER to help judge this. I am not familiar with the code.

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Leszek Swirski
  • Milad Farazmand
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 6
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Mon, 27 May 2024 08:41:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Gaby Baghdadi <bagh...@ca.ibm.com>
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
May 27, 2024, 4:44:20 AMMay 27
to Gaby Baghdadi, Leszek Swirski, Milad Farazmand, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi, Leszek Swirski and Milad Farazmand

Michael Lippautz added 1 comment

File src/libsampler/sampler.cc
Line 78, Patchset 6 (Latest): return static_cast<int>(thread_id.__ & 0x7fffffff);
Michael Lippautz . unresolved

This will be hard to maintain which is why we have our base abstraction.

Why do we need to mask away the top bits? Are they non-deterministic, i.e., will subsequent calls to pthread_self() yield in different MSBs?

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Leszek Swirski
  • Milad Farazmand
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 6
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Mon, 27 May 2024 08:44:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
May 27, 2024, 4:42:20 PMMay 27
to Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Leszek Swirski, Michael Lippautz and Milad Farazmand

Gaby Baghdadi added 3 comments

Patchset-level comments
File-level comment, Patchset 6:
Gaby Baghdadi . resolved

Hello. Please review latest patch 7. Thanks.

File src/d8/d8-posix.cc
Line 7, Patchset 3:#ifndef __MVS__
Michael Lippautz . unresolved

`V8_OS_ZOS`

What is is the include for?

Gaby Baghdadi

netinet/ip.h doesn't exist on z/OS, hence the added #ifndef.

Michael Lippautz

In that case it should be `ifndef V8_OS_ZOS`?

`__MVS__` is used for toggling `ZOS`. We should do that centrally and then use the more declarative name.

Gaby Baghdadi

Ok, I moved the include of d8.h to top of the include list (in absence of d8-posix.h) to use V8_OS_ZOS instead. Thanks.

File src/libsampler/sampler.cc
Line 78, Patchset 6: return static_cast<int>(thread_id.__ & 0x7fffffff);
Michael Lippautz . unresolved

This will be hard to maintain which is why we have our base abstraction.

Why do we need to mask away the top bits? Are they non-deterministic, i.e., will subsequent calls to pthread_self() yield in different MSBs?

Gaby Baghdadi

I removed ThreadKey(), and changed `pthread_t vm_tid()` to return int from `base::OS::GetCurrentThreadId()` as you suggested earlier, and also added a new `pthread_t vm_tself()` to use in the pthread_kill command.

For a given thread, those masked bits will always be the same. I'll call the `int gettid()` (from zoslib) instead. pthread_t.__ is `unsigned long long` for alignment.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
  • Milad Farazmand
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 6
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Mon, 27 May 2024 20:42:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
May 28, 2024, 7:35:22 AMMay 28
to Gaby Baghdadi, Leszek Swirski, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi, Leszek Swirski and Michael Lippautz

Milad Farazmand added 1 comment

File src/codegen/s390/assembler-s390.h
Line 61, Patchset 3 (Parent):#define ABI_USES_FUNCTION_DESCRIPTORS 0
Milad Farazmand . resolved

curious on why this block had to be moved to constants-s390.h?

Gaby Baghdadi
I have a comment about that in the CL's description (under 5a):
- Move define of ABI_USES_FUNCTION_DESCRIPTORS (1 for z/OS, 0 LoZ) and
related macros from assembler-s390.h to constants-s390.h, so that
for z/OS they're defined when checked, as in simulator.h
(which includes simulator-s390.h that includes constants-s390.h).
Milad Farazmand

Acknowledged

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 8
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Tue, 28 May 2024 11:35:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Gaby Baghdadi <bagh...@ca.ibm.com>
Comment-In-Reply-To: Milad Farazmand <mfar...@redhat.com>
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 2, 2024, 2:10:35 PMJun 2
to Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Leszek Swirski and Michael Lippautz

Gaby Baghdadi added 1 comment

File src/base/platform/platform-posix.cc
Line 734, Patchset 1: // TODO(gabylb): zos - implement when a debugger is supported.
Michael Lippautz . resolved

Let's use t he tracking bug here.

It's concerning that this is the only platform that doesn't support debug break.

Gaby Baghdadi

Done

Gaby Baghdadi

Patchset 11 implements this for z/OS (with `asm(" dc x'0001'");`).

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 11
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Sun, 02 Jun 2024 18:10:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Gaby Baghdadi <bagh...@ca.ibm.com>
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 9, 2024, 11:50:19 AMJun 9
to Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Leszek Swirski and Michael Lippautz

Gaby Baghdadi added 4 comments

Patchset-level comments
File-level comment, Patchset 13 (Latest):
Gaby Baghdadi . resolved

Hello. I've resolved the merge conflict and addressed the 3 remaining comments. Please review.

File src/d8/d8-posix.cc
Line 7, Patchset 3:#ifndef __MVS__
Michael Lippautz . resolved

`V8_OS_ZOS`

What is is the include for?

Gaby Baghdadi

netinet/ip.h doesn't exist on z/OS, hence the added #ifndef.

Michael Lippautz

In that case it should be `ifndef V8_OS_ZOS`?

`__MVS__` is used for toggling `ZOS`. We should do that centrally and then use the more declarative name.

Gaby Baghdadi

Ok, I moved the include of d8.h to top of the include list (in absence of d8-posix.h) to use V8_OS_ZOS instead. Thanks.

Gaby Baghdadi

Done

File src/libsampler/sampler.cc
Line 78, Patchset 6: return static_cast<int>(thread_id.__ & 0x7fffffff);
Michael Lippautz . resolved

This will be hard to maintain which is why we have our base abstraction.

Why do we need to mask away the top bits? Are they non-deterministic, i.e., will subsequent calls to pthread_self() yield in different MSBs?

Gaby Baghdadi

I removed ThreadKey(), and changed `pthread_t vm_tid()` to return int from `base::OS::GetCurrentThreadId()` as you suggested earlier, and also added a new `pthread_t vm_tself()` to use in the pthread_kill command.

For a given thread, those masked bits will always be the same. I'll call the `int gettid()` (from zoslib) instead. pthread_t.__ is `unsigned long long` for alignment.

Gaby Baghdadi

Done

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3: // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . resolved

Why? What would need to be fixed?

Gaby Baghdadi

The "b" mode creates the file (embedded.s) as 'mixed' type, as opposed to binary or text, and the clang compiler fails to read it. Does the file created here need to be binary?

Michael Lippautz

Adding @les...@chromium.org as an OWNER to help judge this. I am not familiar with the code.

Gaby Baghdadi

I've now reverted this change, so it doesn't block this CL. After it's approved and merged, I'll file an issue to propose replacing the "wb" with "w".

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 13
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Sun, 09 Jun 2024 15:50:14 +0000
unsatisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
Jun 17, 2024, 7:51:27 AM (13 days ago) Jun 17
to Gaby Baghdadi, Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Michael Lippautz

Leszek Swirski added 1 comment

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3: // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . unresolved

Why? What would need to be fixed?

Gaby Baghdadi

The "b" mode creates the file (embedded.s) as 'mixed' type, as opposed to binary or text, and the clang compiler fails to read it. Does the file created here need to be binary?

Michael Lippautz

Adding @les...@chromium.org as an OWNER to help judge this. I am not familiar with the code.

Leszek Swirski

(forgot to send this Draft)

`b` is ignored on POSIX (https://linux.die.net/man/3/fopen#:~:text=The%20mode%20string,non%2DUNIX%20environments), but I think we might want non-binary on all platforms since `.S` files are text files with assembly, not machine code. I did some code archaeology here and "wb" here goes back to the initial export (https://chromium.googlesource.com/v8/v8/+/43d26ecc3563a46f62a0224030667c8f8f3f6ceb/src/mksnapshot.cc#125) so there's no known issue with using "w" instead.

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 14
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Mon, 17 Jun 2024 11:51:22 +0000
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 17, 2024, 8:20:03 AM (13 days ago) Jun 17
to Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Leszek Swirski and Michael Lippautz

Gaby Baghdadi added 1 comment

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3: // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . unresolved

Why? What would need to be fixed?

Gaby Baghdadi

The "b" mode creates the file (embedded.s) as 'mixed' type, as opposed to binary or text, and the clang compiler fails to read it. Does the file created here need to be binary?

Michael Lippautz

Adding @les...@chromium.org as an OWNER to help judge this. I am not familiar with the code.

Leszek Swirski

(forgot to send this Draft)

`b` is ignored on POSIX (https://linux.die.net/man/3/fopen#:~:text=The%20mode%20string,non%2DUNIX%20environments), but I think we might want non-binary on all platforms since `.S` files are text files with assembly, not machine code. I did some code archaeology here and "wb" here goes back to the initial export (https://chromium.googlesource.com/v8/v8/+/43d26ecc3563a46f62a0224030667c8f8f3f6ceb/src/mksnapshot.cc#125) so there's no known issue with using "w" instead.

Gaby Baghdadi

Thanks Leszek. I've now removed the `b` for all platforms in Patchset 16.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 16
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Mon, 17 Jun 2024 12:19:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 17, 2024, 9:23:00 AM (13 days ago) Jun 17
to Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Leszek Swirski and Michael Lippautz

Gaby Baghdadi added 2 comments

Patchset-level comments
File-level comment, Patchset 16 (Latest):
Gaby Baghdadi . resolved

Marking previous comment as done.

File src/snapshot/embedded/embedded-file-writer.h
Line 99, Patchset 3: // The binary mode results in an unreadable mixed mode embedded.S.
Michael Lippautz . resolved

Why? What would need to be fixed?

Gaby Baghdadi

The "b" mode creates the file (embedded.s) as 'mixed' type, as opposed to binary or text, and the clang compiler fails to read it. Does the file created here need to be binary?

Michael Lippautz

Adding @les...@chromium.org as an OWNER to help judge this. I am not familiar with the code.

Leszek Swirski

(forgot to send this Draft)

`b` is ignored on POSIX (https://linux.die.net/man/3/fopen#:~:text=The%20mode%20string,non%2DUNIX%20environments), but I think we might want non-binary on all platforms since `.S` files are text files with assembly, not machine code. I did some code archaeology here and "wb" here goes back to the initial export (https://chromium.googlesource.com/v8/v8/+/43d26ecc3563a46f62a0224030667c8f8f3f6ceb/src/mksnapshot.cc#125) so there's no known issue with using "w" instead.

Gaby Baghdadi

Thanks Leszek. I've now removed the `b` for all platforms in Patchset 16.

Gaby Baghdadi

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 16
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Mon, 17 Jun 2024 13:22:55 +0000
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 21, 2024, 1:18:18 PM (9 days ago) Jun 21
to AyeAye, Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Michael Lippautz

Gaby Baghdadi added 1 comment

Patchset-level comments
File-level comment, Patchset 17 (Latest):
Gaby Baghdadi . resolved

Hello Michael. Are other reviewers required for this CL? I tried adding, but found that your name was included as owner in every updated file in this CL. Please let me what's needed in order to move this CL forward.

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 17
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Fri, 21 Jun 2024 17:18:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Jun 24, 2024, 6:25:22 AM (6 days ago) Jun 24
to Gaby Baghdadi, AyeAye, Leszek Swirski, Milad Farazmand, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Michael Lippautz added 3 comments

Patchset-level comments
Michael Lippautz . resolved

The CL overall lgtm.

I have two remaining questions on the snapshot stuff. Leszek there is the better owner though, so if he is fine, we can move ahead and land this.

File src/snapshot/embedded/embedded-file-writer.cc
Line 156, Patchset 17 (Latest): WriteDirectiveOrSeparator(w, 0, kByte);
Michael Lippautz . unresolved

Shouldn't this prevent us from putting `WriteDirectiveOrSeparator()` behind !zos?

Line 218, Patchset 17 (Latest):void EmbeddedFileWriter::WriteBinaryContentsAsInlineAssembly(
Michael Lippautz . unresolved

I wonder if we should make this a virtual somehwere to allow specialization?

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 17
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Mon, 24 Jun 2024 10:25:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 24, 2024, 11:21:56 AM (6 days ago) Jun 24
to AyeAye, Leszek Swirski, Milad Farazmand, Michael Lippautz, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Michael Lippautz

Gaby Baghdadi added 2 comments

File src/snapshot/embedded/embedded-file-writer.cc
Line 156, Patchset 17: WriteDirectiveOrSeparator(w, 0, kByte);
Michael Lippautz . resolved

Shouldn't this prevent us from putting `WriteDirectiveOrSeparator()` behind !zos?

Gaby Baghdadi

This call is not used on z/OS (it's guarded above by `#if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X64`). However, I've now removed the guard for WriteDirectiveOrSeparator() and WriteLineEndIfNeeded().

Line 218, Patchset 17:void EmbeddedFileWriter::WriteBinaryContentsAsInlineAssembly(
Michael Lippautz . unresolved

I wonder if we should make this a virtual somehwere to allow specialization?

Gaby Baghdadi

@les...@chromium.org please advise.

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Mon, 24 Jun 2024 15:21:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
unsatisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
Jun 24, 2024, 1:42:05 PM (6 days ago) Jun 24
to Gaby Baghdadi, AyeAye, Leszek Swirski, Michael Lippautz, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Michael Lippautz

Milad Farazmand voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Michael Lippautz
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Mon, 24 Jun 2024 17:42:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
Jun 25, 2024, 10:35:24 AM (5 days ago) Jun 25
to Gaby Baghdadi, AyeAye, Leszek Swirski, Michael Lippautz, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Michael Lippautz

Milad Farazmand added 1 comment

Patchset-level comments
File-level comment, Patchset 18 (Latest):
Milad Farazmand . resolved

Hi Leszek, would you please take a look at this CL once more when you have a chance, thank you.

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Michael Lippautz
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Tue, 25 Jun 2024 14:35:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
Jun 26, 2024, 6:57:02 AM (4 days ago) Jun 26
to Gaby Baghdadi, Milad Farazmand, AyeAye, Michael Lippautz, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Michael Lippautz

Leszek Swirski voted and added 1 comment

Votes added by Leszek Swirski

Code-Review+1

1 comment

File src/snapshot/embedded/embedded-file-writer.cc
Line 218, Patchset 17:void EmbeddedFileWriter::WriteBinaryContentsAsInlineAssembly(
Michael Lippautz . unresolved

I wonder if we should make this a virtual somehwere to allow specialization?

Gaby Baghdadi

@les...@chromium.org please advise.

Leszek Swirski

I think this is ok as-is, since it's a bit of a one-off. A cleaner version would move the whole implementation into `PlatformEmbeddedFileWriter`, since that's where the platform specific stuff lives, but I won't block on it.

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Michael Lippautz
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Wed, 26 Jun 2024 10:56:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Jun 26, 2024, 1:11:43 PM (4 days ago) Jun 26
to Gaby Baghdadi, Leszek Swirski, Milad Farazmand, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Michael Lippautz voted and added 1 comment

Votes added by Michael Lippautz

Code-Review+1

1 comment

Patchset-level comments
Michael Lippautz . resolved

lgtm overall

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Wed, 26 Jun 2024 17:11:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 26, 2024, 2:30:29 PM (4 days ago) Jun 26
to Michael Lippautz, Leszek Swirski, Milad Farazmand, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org

Gaby Baghdadi added 1 comment

File src/snapshot/embedded/embedded-file-writer.cc
Line 218, Patchset 17:void EmbeddedFileWriter::WriteBinaryContentsAsInlineAssembly(
Michael Lippautz . resolved

I wonder if we should make this a virtual somehwere to allow specialization?

Gaby Baghdadi

@les...@chromium.org please advise.

Leszek Swirski

I think this is ok as-is, since it's a bit of a one-off. A cleaner version would move the whole implementation into `PlatformEmbeddedFileWriter`, since that's where the platform specific stuff lives, but I won't block on it.

Gaby Baghdadi

Thanks Leszek. With Michael's code review approval, I'll go ahead and resolve this item.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Comment-Date: Wed, 26 Jun 2024 18:30:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
satisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
Jun 27, 2024, 12:38:11 PM (3 days ago) Jun 27
to Gaby Baghdadi, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Milad Farazmand voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Thu, 27 Jun 2024 16:38:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 27, 2024, 1:24:26 PM (3 days ago) Jun 27
to V8 LUCI CQ, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Milad Farazmand

Gaby Baghdadi added 1 comment

Patchset-level comments
Gaby Baghdadi . unresolved

Re failure with Tryjob v8/try/v8_linux_noi18n_compile_dbg, changing the format to the suggested `%.16llx` results in a warning when compiled with clang on z/OS, as well as clang on x86:
```
clang version 13.0.0 (https://github.com/llvm/llvm-project/ 24c8eaec9467b2aaf70b0db33a4e4dd415139a50)
Target: x86_64-unknown-linux-gnu
Thread model: posix

../../src/snapshot/embedded/platform-embedded-file-writer-zos.cc:128:34: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
return fprintf(fp_, "%.16llx", value);
~~~~~~~ ^~~~~
%.16lx
```
fyi @mlip...@chromium.org
Open in Gerrit

Related details

Attention is currently required from:
  • Milad Farazmand
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 18
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Thu, 27 Jun 2024 17:24:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 27, 2024, 2:41:03 PM (3 days ago) Jun 27
to V8 LUCI CQ, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Milad Farazmand

Gaby Baghdadi added 1 comment

Patchset-level comments
File-level comment, Patchset 18:
Gaby Baghdadi . resolved

Re failure with Tryjob v8/try/v8_linux_noi18n_compile_dbg, changing the format to the suggested `%.16llx` results in a warning when compiled with clang on z/OS, as well as clang on x86:
```
clang version 13.0.0 (https://github.com/llvm/llvm-project/ 24c8eaec9467b2aaf70b0db33a4e4dd415139a50)
Target: x86_64-unknown-linux-gnu
Thread model: posix

../../src/snapshot/embedded/platform-embedded-file-writer-zos.cc:128:34: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
return fprintf(fp_, "%.16llx", value);
~~~~~~~ ^~~~~
%.16lx
```
fyi @mlip...@chromium.org
Gaby Baghdadi

Issue resolved in patch set 19. Please review.

Open in Gerrit

Related details

Attention is currently required from:
  • Milad Farazmand
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 19
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Thu, 27 Jun 2024 18:40:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Gaby Baghdadi <bagh...@ca.ibm.com>
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 27, 2024, 7:55:26 PM (2 days ago) Jun 27
to Milad Farazmand, V8 LUCI CQ, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Milad Farazmand

Gaby Baghdadi added 1 comment

Patchset-level comments
File-level comment, Patchset 19 (Latest):
Gaby Baghdadi . resolved

Re the 2 try jobs that failed:

  • v8_linux64_bazel failed with `'src/snapshot/embedded/platform-embedded-file-writer-zos.h' file not found` - even though headers in the `#include`s before it are from the same directory, and all other platforms built successfully.

@mlip...@chromium.org can you please help resolve.

Open in Gerrit

Related details

Attention is currently required from:
  • Milad Farazmand
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 19
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Thu, 27 Jun 2024 23:55:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Jun 28, 2024, 2:49:57 AM (2 days ago) Jun 28
to Gaby Baghdadi, Milad Farazmand, V8 LUCI CQ, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Milad Farazmand

Michael Lippautz voted and added 2 comments

Votes added by Michael Lippautz

Code-Review+1

2 comments

Patchset-level comments
Gaby Baghdadi . resolved

Re the 2 try jobs that failed:

  • v8_linux64_bazel failed with `'src/snapshot/embedded/platform-embedded-file-writer-zos.h' file not found` - even though headers in the `#include`s before it are from the same directory, and all other platforms built successfully.

@mlip...@chromium.org can you please help resolve.

Michael Lippautz

Re the 2 try jobs that failed:

  • v8_linux64_bazel failed with `'src/snapshot/embedded/platform-embedded-file-writer-zos.h' file not found` - even though headers in the `#include`s before it are from the same directory, and all other platforms built successfully.

Can you add the file to `BUILD.bazel` similar to how the `aix` file is in there? I don't think this would build but it's enough to get through the build system.

This one will likely resolve itself as it's unrelated.

Michael Lippautz . resolved

Changes lgtm but there's also a bazel buildfile that requires adjusting. Not sure

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Milad Farazmand
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 19
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Fri, 28 Jun 2024 06:49:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Gaby Baghdadi <bagh...@ca.ibm.com>
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 28, 2024, 7:44:24 AM (2 days ago) Jun 28
to Milad Farazmand, V8 LUCI CQ, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Leszek Swirski, Michael Lippautz and Milad Farazmand

Gaby Baghdadi added 1 comment

Patchset-level comments
Michael Lippautz . resolved

Changes lgtm but there's also a bazel buildfile that requires adjusting. Not sure

Gaby Baghdadi

Thanks @mlip...@chromium.org, I've added it.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
  • Milad Farazmand
Submit Requirements:
  • 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 20
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Fri, 28 Jun 2024 11:44:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Jun 28, 2024, 7:45:41 AM (2 days ago) Jun 28
to Gaby Baghdadi, Milad Farazmand, V8 LUCI CQ, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi, Leszek Swirski and Milad Farazmand

Michael Lippautz voted and added 1 comment

Votes added by Michael Lippautz

Code-Review+1

1 comment

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

lgtm, congrats :)

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Leszek Swirski
  • Milad Farazmand
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 20
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Attention: Milad Farazmand <mfar...@redhat.com>
Gerrit-Comment-Date: Fri, 28 Jun 2024 11:45:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
Jun 28, 2024, 9:43:59 AM (2 days ago) Jun 28
to Gaby Baghdadi, Michael Lippautz, V8 LUCI CQ, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Leszek Swirski

Milad Farazmand voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Leszek Swirski
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 20
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Fri, 28 Jun 2024 13:43:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Milad Farazmand (Gerrit)

unread,
Jun 28, 2024, 9:44:07 AM (2 days ago) Jun 28
to Gaby Baghdadi, Michael Lippautz, V8 LUCI CQ, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi and Leszek Swirski

Milad Farazmand voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
  • Leszek Swirski
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 20
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Fri, 28 Jun 2024 13:43:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

V8 LUCI CQ (Gerrit)

unread,
Jun 28, 2024, 10:28:11 AM (2 days ago) Jun 28
to Gaby Baghdadi, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org

V8 LUCI CQ submitted the change

Change information

Commit message:
zos: add support for z/OS

The following changes are required to build V8 on z/OS s390x platform.
These changes are added on top of the currently supported s390
port of V8.

All changes are guarded by V8_OS_ZOS or __MVS__, except in sampler.cc,
embedded-file-writer.h, and the moving of macros from assembler-s390.h
to constants-s390.h, as described below.

Changes include:

1) Download dependency and build:
a) DEPS
- Download dependency https://github.com/ibmruntimes/zoslib into
third_party/zoslib.
- Skip fetching certain packages (ninja, luci-go, etc.) as there's no
z/OS binary for them upstream.
b) BUILD.gn
- Build zoslib, exclude NA source and compiler options, and add
z/OS-specific source files to the build.

2) Define macros, constants and includes:
a) include/v8config.h
- Include zos-base.h and define V8_OS_ZOS, V8_OS_STRING, and
V8_OS_POSIX; zos-base.h is from third_party/zoslib/.
b) src/d8/d8-posix.cc
- Exclude NA header.

3) Platform:
a) src/base/platform/platform-posix.cc
- Implement GetCurrentThreadId().
- Set stack size before starting thread.
- Change for pthread_t being a struct, not int.
- Exclude NA static functions and headers.
b) src/base/platform/platform-zos.cc
- New file, implements PosixMemoryMappedFile class, OS::Allocate(),
OS::Free(), etc.
c) src/heap/base/asm/zos/push_registers_asm.cc
- New file, implements PushAllRegistersAndIterateStack() for z/OS.
d) src/base/debug/stack_trace_zos.cc:
- New file, implements StackTrace class methods and stack dumping
signals thread and handler for z/OS.
e) src/base/platform/time.cc
- Use clock_gettime() in ClockNow(), and ClockNow() in
ThreadTicks::Now().
- Return true in ThreadTicks::IsSupported().
f) src/base/sys-info.cc
- Implement NumberOfProcessors() and AmountOfPhysicalMemory() using
API from zoslib.

4) Snapshot:
a) src/snapshot/embedded/embedded-file-writer.cc
src/snapshot/embedded/embedded-file-writer.h
- Update WriteBinaryContentsAsInlineAssembly() so a line doesn't exceed
the max length of 72, a z/OS requirement for HLASM, and define
DeclareLabelProlog() and DeclareLabelEpilogue() for the embedded blob
code and data symbols.
b) src/snapshot/embedded/platform-embedded-file-writer-zos.cc
src/snapshot/embedded/platform-embedded-file-writer-zos.h
- New files, implements embedded file writer for z/OS.
c) src/snapshot/embedded/platform-embedded-file-writer-base.h
src/snapshot/embedded/platform-embedded-file-writer-base.cc
- Include src/snapshot/embedded/platform-embedded-file-writer-zos.h,
define EmbeddedTargetOs::kZOS and update
NewPlatformEmbeddedFileWriter() if embedded target is z/OS.
d) src/snapshot/embedded/embedded-file-writer.h
- Replace "wb" by "w" in open of embedded.S
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/5558534/comment/ab5f65b7_ede704b3/

5) Codegen:
a) src/codegen/s390/constants-s390.h
src/codegen/s390/macro-assembler-s390.cc
src/codegen/s390/macro-assembler-s390.h
src/codegen/s390/register-s390.h
src/codegen/s390/assembler-s390.cc
src/codegen/s390/assembler-s390.h
src/compiler/backend/s390/code-generator-s390.cc
- Call JS code using a function descriptor as required on z/OS.
- Support XPLINK ABI in builtins for z/OS; shuffle XPLINK arguments
coming from C to JS arguments. Add support for calling z/OS XPLINK
C/C++ from JS codegen.
- Enable support for native regexp codegen for z/OS. Arguments are
shuffled from z/OS XPLINK ABI to LoZ ABI on function entry and vice
versa on return.
- Implement supportsCPUFeature(), supportsSTFLE() and ProbeImpl().
- Handle nop pseudo instructions for basr, bras, brasl call types.

- Move define of ABI_USES_FUNCTION_DESCRIPTORS (1 for z/OS, 0 LoZ) and
related macros from assembler-s390.h to constants-s390.h, so that
for z/OS they're defined when checked, as in simulator.h
(which includes simulator-s390.h that includes constants-s390.h).
b) src/diagnostics/objects-debug.cc
- Don't check for instruction start alignment, as no code alignment is
required on z/OS. The start of each function and labels are aligned
on a half-word binary.

6) Execution:
a) src/execution/execution.cc
- Save LE stack pointer to restore on signal while in JS.
b) src/execution/isolate.cc
- Allow more overflow stack space as z/OS XPLINK uses larger frames.
- Ensure thread has enough stack guard.
c) src/execution/simulator.h
- Create a pseudo function descriptor to ensure correct dispatch to
generated code.

7) Regexp:
a) src/regexp/s390/regexp-macro-assembler-s390.cc
- Enable regexp support:
- Add support for native regexp codegen.
- Shuffle arguments from z/OS XPLINK ABI to LoZ ABI on function
entry and vice versa on return.

8) Builtins:
a) src/builtins/s390/builtins-s390.cc
- Add support for XPLINK ABI in builtins:
- Add support for shuffling XPLINK arguments coming from C to JS.
- Add support for calling z/OS XPLINK C/C++ from JS codegen.

9) Adjust for pthread_t being a struct (not int):
a) src/base/platform/platform.h
src/libsampler/sampler.h

10) libsampler:
a) src/libsampler/sampler.cc
- Implement FillRegisterState() to set the state's registers (pc, sp,
fp, lr) with the given context in the signal handler.
- Adjust for pthread_t being a struct (not int);
new vm_tself() returns pthread_self() for use in pthread_kill(); also
change vm_tid() to return int using base::OS::GetCurrentThreadId().

11) tools:
a) tools/testrunner/local/statusfile.py
- Add "zos" to VARIABLES.
b) tools/testrunner/local/utils.py
- Return "zos" in GuessOS() if platform.system() is "OS/390"
- Uupdate IsS390SimdSupported() to return true on z13 or higher.

12) test:
a) test/cctest/cctest-utils.h
test/unittests/test-utils.h
- Define GET_STACK_POINTER_TO(sp_addr) macro for z/OS.

Co-Authored-By: CW Cheung <ccw.2...@ca.ibm.com>
Co-Authored-By: Igor Todorovski <itod...@ca.ibm.com>
Co-Authored-By: Wayne Zhang <Shuowan...@ibm.com>
Bug: 42203045
Change-Id: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Reviewed-by: Milad Farazmand <mfar...@redhat.com>
Commit-Queue: Milad Farazmand <mfar...@redhat.com>
Reviewed-by: Michael Lippautz <mlip...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#94711}
Files:
  • M BUILD.bazel
  • M BUILD.gn
  • M DEPS
  • M include/v8config.h
  • A src/base/debug/stack_trace_zos.cc
  • M src/base/immediate-crash.h
  • M src/base/platform/memory.h
  • M src/base/platform/platform-posix.cc
  • A src/base/platform/platform-zos.cc
  • M src/base/platform/platform.h
  • M src/base/platform/semaphore.h
  • M src/base/platform/time.cc
  • M src/base/sys-info.cc
  • M src/builtins/s390/builtins-s390.cc
  • M src/codegen/s390/assembler-s390.cc
  • M src/codegen/s390/assembler-s390.h
  • M src/codegen/s390/constants-s390.h
  • M src/codegen/s390/macro-assembler-s390.cc
  • M src/codegen/s390/macro-assembler-s390.h
  • M src/codegen/s390/register-s390.h
  • M src/compiler/backend/s390/code-generator-s390.cc
  • M src/d8/d8-posix.cc
  • M src/diagnostics/objects-debug.cc
  • M src/execution/simulator.h
  • A src/heap/base/asm/zos/push_registers_asm.cc
  • M src/libsampler/sampler.cc
  • M src/libsampler/sampler.h
  • M src/regexp/s390/regexp-macro-assembler-s390.cc
  • M src/snapshot/embedded/embedded-file-writer.cc
  • M src/snapshot/embedded/embedded-file-writer.h
  • M src/snapshot/embedded/platform-embedded-file-writer-base.cc
  • M src/snapshot/embedded/platform-embedded-file-writer-base.h
  • A src/snapshot/embedded/platform-embedded-file-writer-zos.cc
  • A src/snapshot/embedded/platform-embedded-file-writer-zos.h
  • M test/cctest/BUILD.gn
  • M test/cctest/cctest-utils.h
  • M test/cctest/cctest.status
  • M test/inspector/inspector.status
  • M test/mjsunit/mjsunit.status
  • M test/unittests/test-utils.h
  • M tools/testrunner/local/statusfile.py
  • M tools/testrunner/local/utils.py
Change size: XL
Delta: 42 files changed, 1337 insertions(+), 78 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Michael Lippautz, +1 by Milad Farazmand
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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 21
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
open
diffy
satisfied_requirement

Michael Achenbach (Gerrit)

unread,
Jun 28, 2024, 2:32:10 PM (2 days ago) Jun 28
to V8 LUCI CQ, Gaby Baghdadi, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Michael Achenbach added 1 comment

File DEPS
Line 485, Patchset 21 (Latest): 'url': Var('chromium_url') + '/external/github.com/ibmruntimes/zoslib.git' + '@' + '3accd08b136344128beb3f594e8ab3eb30accc56',
Michael Achenbach . unresolved

This does not exist yet, does it? This currently breaks our auto roller which verifies all entries.

Open in Gerrit

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 21
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-CC: Michael Achenbach <mache...@chromium.org>
Gerrit-Attention: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Comment-Date: Fri, 28 Jun 2024 18:32:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Michael Achenbach (Gerrit)

unread,
Jun 28, 2024, 2:33:10 PM (2 days ago) Jun 28
to V8 LUCI CQ, Gaby Baghdadi, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org
Attention needed from Gaby Baghdadi

Michael Achenbach has created a revert of this change

Related details

Attention is currently required from:
  • Gaby Baghdadi
Submit Requirements:
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: revert
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 28, 2024, 7:34:15 PM (2 days ago) Jun 28
to V8 LUCI CQ, Michael Achenbach, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org

Gaby Baghdadi added 2 comments

File DEPS
Line 485, Patchset 21 (Latest): 'url': Var('chromium_url') + '/external/github.com/ibmruntimes/zoslib.git' + '@' + '3accd08b136344128beb3f594e8ab3eb30accc56',
Michael Achenbach . unresolved

This does not exist yet, does it? This currently breaks our auto roller which verifies all entries.

Gaby Baghdadi
Line 485, Patchset 21 (Latest): 'url': Var('chromium_url') + '/external/github.com/ibmruntimes/zoslib.git' + '@' + '3accd08b136344128beb3f594e8ab3eb30accc56',
Michael Achenbach . unresolved

This does not exist yet, does it? This currently breaks our auto roller which verifies all entries.

Gaby Baghdadi

It seems it got squashed out during the PR merge. The correct commit is https://github.com/ibmruntimes/zoslib/commit/1e68de6e37efced3738a88536fccb6bbfe2d70b2.

Should I upload a fix here (in a merged CL)? Or open another CL to correct the commit in DEPS?

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 21
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-CC: Michael Achenbach <mache...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Jun 2024 23:34:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Achenbach <mache...@chromium.org>
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 28, 2024, 7:35:12 PM (2 days ago) Jun 28
to V8 LUCI CQ, Michael Achenbach, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org

Gaby Baghdadi added 1 comment

File DEPS
Line 485, Patchset 21 (Latest): 'url': Var('chromium_url') + '/external/github.com/ibmruntimes/zoslib.git' + '@' + '3accd08b136344128beb3f594e8ab3eb30accc56',
Michael Achenbach . unresolved

This does not exist yet, does it? This currently breaks our auto roller which verifies all entries.

Gaby Baghdadi

The github.com/ibmruntimes/zoslib repo exists for the specified commit: https://github.com/ibmruntimes/zoslib/commit/3accd08b136344128beb3f594e8ab3eb30accc56

Is the format here incorrect?

Gaby Baghdadi

Please ignore the above comment.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 21
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-CC: Michael Achenbach <mache...@chromium.org>
Gerrit-Comment-Date: Fri, 28 Jun 2024 23:35:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Gaby Baghdadi <bagh...@ca.ibm.com>
Comment-In-Reply-To: Michael Achenbach <mache...@chromium.org>
satisfied_requirement
open
diffy

Gaby Baghdadi (Gerrit)

unread,
Jun 29, 2024, 11:29:50 AM (18 hours ago) Jun 29
to V8 LUCI CQ, Michael Achenbach, Milad Farazmand, Michael Lippautz, Leszek Swirski, AyeAye, Hannes Payer, dmercadi...@chromium.org, cbruni...@chromium.org, devtools-...@chromium.org, jgrube...@chromium.org, mlippau...@chromium.org, pthier...@chromium.org, v8-re...@googlegroups.com, victorgo...@chromium.org

Gaby Baghdadi added 1 comment

File DEPS
Line 485, Patchset 21 (Latest): 'url': Var('chromium_url') + '/external/github.com/ibmruntimes/zoslib.git' + '@' + '3accd08b136344128beb3f594e8ab3eb30accc56',
Michael Achenbach . resolved

This does not exist yet, does it? This currently breaks our auto roller which verifies all entries.

Gaby Baghdadi

The github.com/ibmruntimes/zoslib repo exists for the specified commit: https://github.com/ibmruntimes/zoslib/commit/3accd08b136344128beb3f594e8ab3eb30accc56

Is the format here incorrect?

Gaby Baghdadi

Please ignore the above comment.

Gaby Baghdadi

Hi @mlip...@chromium.org, I've uploaded https://chromium-review.googlesource.com/c/v8/v8/+/5668493 that updates the commit hash to a valid one.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement 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: I84a0743108918847e3bcf6d4f3b87e2205822f8c
Gerrit-Change-Number: 5558534
Gerrit-PatchSet: 21
Gerrit-Owner: Gaby Baghdadi <bagh...@ca.ibm.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Milad Farazmand <mfar...@redhat.com>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-CC: Michael Achenbach <mache...@chromium.org>
Gerrit-Comment-Date: Sat, 29 Jun 2024 15:29:46 +0000
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages