Commit e24bd551 authored by Omer Katz's avatar Omer Katz Committed by Commit Bot

heap: Enable concurrent marking for TraceWrapperV8Reference

Bug: 986235
Change-Id: Ifba84fb0880c668e3c1f6bc276d1f7beacea4261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332629Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794226}
parent 983340cc
...@@ -138,6 +138,14 @@ struct VectorTraits<blink::TraceWrapperV8Reference<T>> ...@@ -138,6 +138,14 @@ struct VectorTraits<blink::TraceWrapperV8Reference<T>>
static const bool kCanClearUnusedSlotsWithMemset = true; static const bool kCanClearUnusedSlotsWithMemset = true;
static const bool kCanCopyWithMemcpy = false; static const bool kCanCopyWithMemcpy = false;
static const bool kCanMoveWithMemcpy = false; static const bool kCanMoveWithMemcpy = false;
static constexpr bool kCanTraceConcurrently = true;
};
template <typename T>
struct HashTraits<blink::TraceWrapperV8Reference<T>>
: GenericHashTraits<blink::TraceWrapperV8Reference<T>> {
STATIC_ONLY(HashTraits);
static constexpr bool kCanTraceConcurrently = true;
}; };
} // namespace WTF } // namespace WTF
......
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