Title: [195440] trunk/Source/_javascript_Core
Revision
195440
Author
akl...@apple.com
Date
2016-01-21 21:22:29 -0800 (Thu, 21 Jan 2016)

Log Message

Add some missing WTF_MAKE_FAST_ALLOCATED in _javascript_Core.
<https://webkit.org/b/153335>

Reviewed by Alex Christensen.

Saw these things getting system malloc()'ed in an Instruments trace.

* inspector/InspectorAgentBase.h:
* jit/CallFrameShuffleData.h:
* jit/CallFrameShuffler.h:
* jit/RegisterAtOffsetList.h:
* runtime/GenericOffset.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (195439 => 195440)


--- trunk/Source/_javascript_Core/ChangeLog	2016-01-22 04:21:36 UTC (rev 195439)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-01-22 05:22:29 UTC (rev 195440)
@@ -1,3 +1,18 @@
+2016-01-21  Andreas Kling  <akl...@apple.com>
+
+        Add some missing WTF_MAKE_FAST_ALLOCATED in _javascript_Core.
+        <https://webkit.org/b/153335>
+
+        Reviewed by Alex Christensen.
+
+        Saw these things getting system malloc()'ed in an Instruments trace.
+
+        * inspector/InspectorAgentBase.h:
+        * jit/CallFrameShuffleData.h:
+        * jit/CallFrameShuffler.h:
+        * jit/RegisterAtOffsetList.h:
+        * runtime/GenericOffset.h:
+
 2016-01-21  Yusuke Suzuki  <utatane....@gmail.com>
 
         [ES6] Catch parameter should accept BindingPattern

Modified: trunk/Source/_javascript_Core/inspector/InspectorAgentBase.h (195439 => 195440)


--- trunk/Source/_javascript_Core/inspector/InspectorAgentBase.h	2016-01-22 04:21:36 UTC (rev 195439)
+++ trunk/Source/_javascript_Core/inspector/InspectorAgentBase.h	2016-01-22 05:22:29 UTC (rev 195440)
@@ -63,6 +63,7 @@
 };
 
 class InspectorAgentBase {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     virtual ~InspectorAgentBase() { }
 

Modified: trunk/Source/_javascript_Core/jit/CallFrameShuffleData.h (195439 => 195440)


--- trunk/Source/_javascript_Core/jit/CallFrameShuffleData.h	2016-01-22 04:21:36 UTC (rev 195439)
+++ trunk/Source/_javascript_Core/jit/CallFrameShuffleData.h	2016-01-22 05:22:29 UTC (rev 195440)
@@ -34,6 +34,8 @@
 namespace JSC {
 
 struct CallFrameShuffleData {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
     unsigned numLocals;
     ValueRecovery callee;
     Vector<ValueRecovery> args;

Modified: trunk/Source/_javascript_Core/jit/CallFrameShuffler.h (195439 => 195440)


--- trunk/Source/_javascript_Core/jit/CallFrameShuffler.h	2016-01-22 04:21:36 UTC (rev 195439)
+++ trunk/Source/_javascript_Core/jit/CallFrameShuffler.h	2016-01-22 05:22:29 UTC (rev 195440)
@@ -38,6 +38,7 @@
 namespace JSC {
 
 class CallFrameShuffler {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     CallFrameShuffler(CCallHelpers&, const CallFrameShuffleData&);
 

Modified: trunk/Source/_javascript_Core/jit/RegisterAtOffsetList.h (195439 => 195440)


--- trunk/Source/_javascript_Core/jit/RegisterAtOffsetList.h	2016-01-22 04:21:36 UTC (rev 195439)
+++ trunk/Source/_javascript_Core/jit/RegisterAtOffsetList.h	2016-01-22 05:22:29 UTC (rev 195440)
@@ -34,6 +34,7 @@
 namespace JSC {
 
 class RegisterAtOffsetList {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     enum OffsetBaseType { FramePointerBased, ZeroBased };
 

Modified: trunk/Source/_javascript_Core/runtime/GenericOffset.h (195439 => 195440)


--- trunk/Source/_javascript_Core/runtime/GenericOffset.h	2016-01-22 04:21:36 UTC (rev 195439)
+++ trunk/Source/_javascript_Core/runtime/GenericOffset.h	2016-01-22 05:22:29 UTC (rev 195440)
@@ -34,6 +34,7 @@
 // A mixin for creating the various kinds of variable offsets that our engine supports.
 template<typename T>
 class GenericOffset {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     static const unsigned invalidOffset = UINT_MAX;
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to