Shrink WatchpointSet.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Jan 2014 15:50:54 +0000 (15:50 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Jan 2014 15:50:54 +0000 (15:50 +0000)
<https://webkit.org/b/126694>

Reorder the members of WatchpointSet, shrinking it by 8 bytes.
767 kB progression on Membuster3.

Reviewed by Antti Koivisto.

* bytecode/Watchpoint.h:

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/Watchpoint.h

index 35fe8983dfc47d71b2c273587bb3581df63f5044..ab128c2199322dda2fd4c794c537b8201f45427d 100644 (file)
@@ -1,3 +1,15 @@
+2014-01-09  Andreas Kling  <akling@apple.com>
+
+        Shrink WatchpointSet.
+        <https://webkit.org/b/126694>
+
+        Reorder the members of WatchpointSet, shrinking it by 8 bytes.
+        767 kB progression on Membuster3.
+
+        Reviewed by Antti Koivisto.
+
+        * bytecode/Watchpoint.h:
+
 2014-01-08  Mark Hahnenberg  <mhahnenberg@apple.com>
 
         Reverting accidental GC logging
index 79e2d2fc1a73381fe1e44df5b21445469a66e14d..07b1b014e3539cb8e9b84e80babf9886f98e72ad 100644 (file)
@@ -132,10 +132,11 @@ private:
     void fireAllWatchpoints();
     
     friend class InlineWatchpointSet;
-    
-    SentinelLinkedList<Watchpoint, BasicRawSentinelNode<Watchpoint>> m_set;
+
     int8_t m_state;
     int8_t m_setIsNotEmpty;
+
+    SentinelLinkedList<Watchpoint, BasicRawSentinelNode<Watchpoint>> m_set;
 };
 
 // InlineWatchpointSet is a low-overhead, non-copyable watchpoint set in which