Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Unified Diff: third_party/WebKit/Source/platform/heap/WrapperVisitor.h

Issue 2640033002: [wrapper-tracing] Force inlining of marking deque helper (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/WrapperVisitor.h
diff --git a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
index 13de57b4c7cbaf1471f84a9feab62df200f12f56..3e0c49b8e52a2a06960fdef4b8a371cf50e6c3f0 100644
--- a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
+++ b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
@@ -91,7 +91,7 @@ class PLATFORM_EXPORT WrapperVisitor {
public:
template <typename T>
- static NEVER_INLINE void missedWriteBarrier() {
+ static NOINLINE void missedWriteBarrier() {
Michael Lippautz 2017/01/18 13:47:40 https://cs.chromium.org/chromium/src/third_party/W
NOTREACHED();
}
@@ -167,7 +167,7 @@ class PLATFORM_EXPORT WrapperVisitor {
}
template <typename T>
- void markAndPushToMarkingDeque(const T* traceable) const {
+ ALWAYS_INLINE void markAndPushToMarkingDeque(const T* traceable) const {
Michael Lippautz 2017/01/18 13:47:40 The only difference in the CL responsible for the
if (pushToMarkingDeque(TraceTrait<T>::traceMarkedWrapper,
TraceTrait<T>::heapObjectHeader,
WrapperVisitor::missedWriteBarrier<T>, traceable)) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698