Commit 88733290 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

unified-heap: Enable per default

Enabling unfied heap garbage collections per default.

Bug: 843903
Change-Id: I473f85bbe2d6b3fc72051549ffd389896cc488c6
Reviewed-on: https://chromium-review.googlesource.com/c/1412026Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
Reviewed-by: default avatarUlan Degenbaev <ulan@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629116}
parent 3d50bc41
......@@ -3533,7 +3533,11 @@ IN_PROC_BROWSER_TEST_F(WebViewTest, BasicPostMessage) {
}
// Tests that webviews do get garbage collected.
IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestGarbageCollect) {
// This test is disabled because it relies on garbage collections triggered from
// window.gc() to run precisely. This is not the case with unified heap where
// they need to conservatively scan the stack, potentially keeping objects
// alive. https://crbug.com/843903
IN_PROC_BROWSER_TEST_F(WebViewTest, DISABLED_Shim_TestGarbageCollect) {
TestHelper("testGarbageCollect", "web_view/shim", NO_TEST_SERVER);
GetGuestViewManager()->WaitForSingleViewGarbageCollected();
}
......
......@@ -68,7 +68,7 @@ const base::Feature kBlinkHeapIncrementalMarking{
// Enable unified garbage collection in Blink.
const base::Feature kBlinkHeapUnifiedGarbageCollection{
"BlinkHeapUnifiedGarbageCollection", base::FEATURE_DISABLED_BY_DEFAULT};
"BlinkHeapUnifiedGarbageCollection", base::FEATURE_ENABLED_BY_DEFAULT};
// Enable bloated renderer detection.
const base::Feature kBloatedRendererDetection{
......
......@@ -597,6 +597,7 @@
},
{
name: "HeapUnifiedGarbageCollection",
status: "stable",
},
{
name: "HrefTranslate",
......
......@@ -2,6 +2,6 @@ Test for bug 34231: Nodes in XPathResult should keep JS wrappers alive.
For this test to PASS you should see 2 PASS below.
undefined
undefined
PASS
PASS
......@@ -2,6 +2,6 @@ Test for bug 34231: Nodes in XPath result snapshots should keep JS wrappers aliv
For this test to PASS you should see 2 PASS below.
undefined
undefined
PASS
PASS
......@@ -2,6 +2,6 @@ Test for bug 34231: Nodes in XPath result snapshots should keep JS wrappers aliv
For this test to PASS you should see 2 PASS below.
undefined
undefined
PASS
PASS
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment