| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Revert "Reland "[cpu-profiler] Add more logging to find flaky failure"" This reverts commit 48feba60e6ddca7a210ec57d3b94869aa876d124. Reason for revert: Some TSAN failures reoccurred - https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux64%20TSAN/24456 Original change's description: > Reland "[cpu-profiler] Add more logging to find flaky failure" > > This is a reland of 138bcfc3966f654e5b75089d07cc08975aa26a1c > > Fixed all the data races and ran TSAN locally to confirm. > > Original change's description: > > [cpu-profiler] Add more logging to find flaky failure > > > > There is a flaky 5x failure in the tree which I can't reproduce locally. > > This extra logging will help flush out what the problem is. > > > > Bug: v8:8649 > > > > Change-Id: If36d2ce0f4feb398d7d746d69b417bb55a714422 > > Reviewed-on: https://chromium-review.googlesource.com/c/1402787 > > Commit-Queue: Peter Marshall <petermarshall@chromium.org> > > Reviewed-by: Camillo Bruni <cbruni@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#58796} > > Bug: v8:8649 > Change-Id: I53e293ef85a54d4b2b39aa3b980832031201aa0c > Reviewed-on: https://chromium-review.googlesource.com/c/1411633 > Commit-Queue: Peter Marshall <petermarshall@chromium.org> > Reviewed-by: Jakob Gruber <jgruber@chromium.org> > Cr-Commit-Position: refs/heads/master@{#58833} TBR=jgruber@chromium.org,petermarshall@chromium.org Change-Id: Icd779b0bd0faf1db76a17736b70617e6b1d6584f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: v8:8649 Reviewed-on: https://chromium-review.googlesource.com/c/1412458 Reviewed-by: Maya Lekova <mslekova@chromium.org> Commit-Queue: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#58834} | 7 年前 | |
Add DIR_METADATA files to v8. Generate DIR_METADATA files and remove metadata from OWNERS files for v8. R=jkummerow@chromium.org, ochang@chromium.org, yangguo@chromium.org Bug: chromium:1113033 Change-Id: I82cbb62e438d82dbbc408e87120af39fa9da0afa Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2476680 Reviewed-by: Adam Klein <adamk@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Cr-Commit-Position: refs/heads/master@{#70669} | 5 年前 | |
Update OWNERS in src/* Change-Id: Ib54d5abad3e67f74d1930af135778e1f201ba28f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2712964 Commit-Queue: Hannes Payer <hpayer@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Cr-Commit-Position: refs/heads/master@{#73050} | 5 年前 | |
[libsampler] Migrate to newer fuchsia syscall zx_task_suspend_token was deprecated in favor of the newer zx_task_suspend API. This change migrates a use of the old API to the newer one. Change-Id: I682df70ebaee2f114946026a0ef41fbf873d7d2c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6866555 Auto-Submit: Suraj Malhotra <surajmalhotra@google.com> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/main@{#102035} | 10 个月前 | |
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.280231@ca.ibm.com> Co-Authored-By: Igor Todorovski <itodorov@ca.ibm.com> Co-Authored-By: Wayne Zhang <Shuowang.Zhang@ibm.com> Bug: 42203045 Change-Id: I84a0743108918847e3bcf6d4f3b87e2205822f8c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5558534 Reviewed-by: Milad Farazmand <mfarazma@redhat.com> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#94711} | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 7 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 10 个月前 | ||
| 1 年前 |