Title: [240204] trunk/Source/_javascript_Core
Revision
240204
Author
[email protected]
Date
2019-01-19 15:15:15 -0800 (Sat, 19 Jan 2019)

Log Message

[JSC] Reorder JSSegmentedVariableObject member for preparation of JSGlobalObject memory reduction
https://bugs.webkit.org/show_bug.cgi?id=193609

Reviewed by Sam Weinig.

Basically, we should order the members in large => small order not to add paddings.

* runtime/JSSegmentedVariableObject.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (240203 => 240204)


--- trunk/Source/_javascript_Core/ChangeLog	2019-01-19 17:38:40 UTC (rev 240203)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-01-19 23:15:15 UTC (rev 240204)
@@ -1,3 +1,14 @@
+2019-01-19  Yusuke Suzuki  <[email protected]>
+
+        [JSC] Reorder JSSegmentedVariableObject member for preparation of JSGlobalObject memory reduction
+        https://bugs.webkit.org/show_bug.cgi?id=193609
+
+        Reviewed by Sam Weinig.
+
+        Basically, we should order the members in large => small order not to add paddings.
+
+        * runtime/JSSegmentedVariableObject.h:
+
 2019-01-19  Antoine Quint  <[email protected]>
 
         Add a POINTER_EVENTS feature flag

Modified: trunk/Source/_javascript_Core/runtime/JSSegmentedVariableObject.h (240203 => 240204)


--- trunk/Source/_javascript_Core/runtime/JSSegmentedVariableObject.h	2019-01-19 17:38:40 UTC (rev 240203)
+++ trunk/Source/_javascript_Core/runtime/JSSegmentedVariableObject.h	2019-01-19 23:15:15 UTC (rev 240204)
@@ -107,9 +107,9 @@
     
 private:
     SegmentedVector<WriteBarrier<Unknown>, 16> m_variables;
+    PoisonedClassInfoPtr m_classInfo;
     ConcurrentJSLock m_lock;
     bool m_alreadyDestroyed { false }; // We use these assertions to check that we aren't doing ancient hacks that result in this being destroyed more than once.
-    PoisonedClassInfoPtr m_classInfo;
 };
 
 } // namespace JSC
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to