Benign debian Download

gc-tracer.cc

Switches on a member named typeMegabyte-scale size constant in source
SHA-256267c5d7262cbec8525053ef37a0336446924165b79368b8e892d52928054db82

Evidence

imports <cstdarg> lines 1–30
1// Copyright 2014 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "src/heap/gc-tracer.h"
6
7#include <cstdarg>
8
9#include "include/v8-metrics.h"
10#include "src/base/atomic-utils.h"
11#include "src/base/strings.h"
12#include "src/common/globals.h"
13#include "src/execution/thread-id.h"
14#include "src/heap/cppgc-js/cpp-heap.h"
15#include "src/heap/cppgc/metric-recorder.h"
16#include "src/heap/gc-tracer-inl.h"
17#include "src/heap/heap-inl.h"
18#include "src/heap/heap.h"
19#include "src/heap/incremental-marking.h"
20#include "src/heap/spaces.h"
21#include "src/logging/counters.h"
22#include "src/logging/metrics.h"
23#include "src/logging/tracing-flags.h"
24#include "src/tracing/tracing-category-observer.h"
25
26namespace v8 {
⋯4 lines
English function-word token "for" lines 30–34
30:15… _size = 0;
31 PagedSpaceIterator spaces(heap);
32 for (PagedSpace* space = spaces.Next(); space != nullptr;
33 space = spaces.Next()) {
34 DCHEC …
C declares a character or byte buffer lines 660–669
660:39… );
661 va_end(arguments);
662 }
663
664 const int kBufferSize = 256;
665 char raw_buffer[kBufferSize];
666 base::Vector<char> buffer(raw_buffer, kBufferSize);
667 va_list arguments2;
668 va_start(arguments2, format);
669 base …
Switches on a member named type lines 734–742
734:53… copes.
735 base::MutexGuard guard(&background_counter_mutex_);
736
737 switch (current_.type) {
738 case Event::SCAVENGER:
739 heap_->isolate()->PrintWithTimestamp(
740 "pause=%.1f "
741 "mutator=%.1f "
742 …
Megabyte-scale size constant in source lines 1347–1351
1347:34… to 0;
1348 constexpr size_t kMinObjectSizeForReportingThroughput = 1024 * 1024;
1349 if (base::TimeTicks::IsHighResolution() &&
1350 heap_->SizeOfObjects() > kMinObjectSizeForReportingThroughput &&
1351 …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.