Unreviewed, rolling out r209544.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Dec 2016 20:44:17 +0000 (20:44 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Dec 2016 20:44:17 +0000 (20:44 +0000)
Looks like r209489 did not cause the performance regression
after all

Reverted changeset:

"Unreviewed, rolling out r209489."
https://bugs.webkit.org/show_bug.cgi?id=165550
http://trac.webkit.org/changeset/209544

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/VMEntryScope.cpp
Source/WTF/ChangeLog
Source/WTF/wtf/SystemTracing.h
Tools/ChangeLog
Tools/Tracing/SystemTracePoints.plist

index daa4e1a..1f676ba 100644 (file)
@@ -1,3 +1,16 @@
+2016-12-13  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed, rolling out r209544.
+
+        Looks like r209489 did not cause the performance regression
+        after all
+
+        Reverted changeset:
+
+        "Unreviewed, rolling out r209489."
+        https://bugs.webkit.org/show_bug.cgi?id=165550
+        http://trac.webkit.org/changeset/209544
+
 2016-12-13  Saam Barati  <sbarati@apple.com>
 
         WebAssembly: implement the table section and table import
index 86835bb..e1e708c 100644 (file)
@@ -31,6 +31,7 @@
 #include "VM.h"
 #include "Watchdog.h"
 #include <wtf/StackBounds.h>
+#include <wtf/SystemTracing.h>
 
 namespace JSC {
 
@@ -53,6 +54,7 @@ VMEntryScope::VMEntryScope(VM& vm, JSGlobalObject* globalObject)
         if (SamplingProfiler* samplingProfiler = vm.samplingProfiler())
             samplingProfiler->noticeVMEntry();
 #endif
+        TracePoint(VMEntryScopeStart);
     }
 
     vm.clearLastException();
@@ -68,6 +70,8 @@ VMEntryScope::~VMEntryScope()
     if (m_vm.entryScope != this)
         return;
 
+    TracePoint(VMEntryScopeEnd);
+
     if (m_vm.watchdog())
         m_vm.watchdog()->exitedVM();
 
index 5a34fa1..1ba99b6 100644 (file)
@@ -1,3 +1,16 @@
+2016-12-13  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed, rolling out r209544.
+
+        Looks like r209489 did not cause the performance regression
+        after all
+
+        Reverted changeset:
+
+        "Unreviewed, rolling out r209489."
+        https://bugs.webkit.org/show_bug.cgi?id=165550
+        http://trac.webkit.org/changeset/209544
+
 2016-12-13  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r209725.
index c8c13ee..968fd67 100644 (file)
@@ -41,6 +41,8 @@ enum TracePointCode {
     WTFRange = 0,
 
     JavaScriptRange = 2500,
+    VMEntryScopeStart,
+    VMEntryScopeEnd,
 
     WebCoreRange = 5000,
     StyleRecalcStart,
index 1a89493..6dfa62b 100644 (file)
@@ -1,3 +1,16 @@
+2016-12-13  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed, rolling out r209544.
+
+        Looks like r209489 did not cause the performance regression
+        after all
+
+        Reverted changeset:
+
+        "Unreviewed, rolling out r209489."
+        https://bugs.webkit.org/show_bug.cgi?id=165550
+        http://trac.webkit.org/changeset/209544
+
 2016-12-12  Sam Weinig  <sam@webkit.org>
 
         [WebIDL] Remove use of Dictionary in ApplePaySession
index d45089f..0f4256f 100644 (file)
@@ -9,6 +9,18 @@
          <array>
              <dict>
                  <key>Name</key>
+                 <string>JavaScript VM</string>
+                 <key>Type</key>
+                 <string>Interval</string>
+                 <key>Component</key>
+                 <string>47</string>
+                 <key>CodeBegin</key>
+                 <string>2501</string>
+                 <key>CodeEnd</key>
+                 <string>2502</string>
+             </dict>
+             <dict>
+                 <key>Name</key>
                  <string>Document::recalcStyle()</string>
                  <key>Type</key>
                  <string>Interval</string>