Skip to content

Commit 71d2ce6

Browse files
committed
Version 4.5.103.15 (cherry-pick)
Merged 8ae236c Fix the failure when enabling v8 profiler or vtune profiler in chromium. [email protected] BUG=v8:4352 Review URL: https://codereview.chromium.org/1272133002 Cr-Commit-Position: refs/branch-heads/4.5@{#22} Cr-Branched-From: 7f21153-refs/heads/4.5.103@{#1} Cr-Branched-From: 4b38c15-refs/heads/master@{#29527}
1 parent dcd6e68 commit 71d2ce6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 4
1212
#define V8_MINOR_VERSION 5
1313
#define V8_BUILD_NUMBER 103
14-
#define V8_PATCH_LEVEL 19
14+
#define V8_PATCH_LEVEL 20
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

src/heap/heap.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,9 @@ bool Heap::CollectGarbage(GarbageCollector collector, const char* gc_reason,
966966
(committed_memory_before - committed_memory_after) > MB ||
967967
HasHighFragmentation(used_memory_after, committed_memory_after) ||
968968
(detached_contexts()->length() > 0);
969-
memory_reducer_.NotifyMarkCompact(event);
969+
if (deserialization_complete_) {
970+
memory_reducer_.NotifyMarkCompact(event);
971+
}
970972
}
971973

972974
tracer()->Stop(collector);

0 commit comments

Comments
 (0)