Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (229179 => 229180)
--- trunk/Source/_javascript_Core/ChangeLog 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/ChangeLog 2018-03-02 17:55:22 UTC (rev 229180)
@@ -1,3 +1,17 @@
+2018-03-02 Yusuke Suzuki <[email protected]>
+
+ [JSC] Annotate more classes with WTF_MAKE_FAST_ALLOCATED
+ https://bugs.webkit.org/show_bug.cgi?id=183279
+
+ Reviewed by JF Bastien.
+
+ * bytecode/BytecodeIntrinsicRegistry.h:
+ * ftl/FTLThunks.h:
+ * heap/CodeBlockSet.h:
+ * heap/GCSegmentedArray.h:
+ * heap/MachineStackMarker.h:
+ * heap/MarkingConstraintSet.h:
+
2018-03-01 Yusuke Suzuki <[email protected]>
Remove monotonicallyIncreasingTime
Modified: trunk/Source/_javascript_Core/bytecode/BytecodeIntrinsicRegistry.h (229179 => 229180)
--- trunk/Source/_javascript_Core/bytecode/BytecodeIntrinsicRegistry.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/bytecode/BytecodeIntrinsicRegistry.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -97,6 +97,7 @@
macro(AsyncGeneratorSuspendReasonNone) \
class BytecodeIntrinsicRegistry {
+ WTF_MAKE_FAST_ALLOCATED;
WTF_MAKE_NONCOPYABLE(BytecodeIntrinsicRegistry);
public:
explicit BytecodeIntrinsicRegistry(VM&);
Modified: trunk/Source/_javascript_Core/ftl/FTLThunks.h (229179 => 229180)
--- trunk/Source/_javascript_Core/ftl/FTLThunks.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/ftl/FTLThunks.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -75,7 +75,10 @@
}
class Thunks {
+ WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_NONCOPYABLE(Thunks);
public:
+ Thunks() = default;
MacroAssemblerCodeRef getSlowPathCallThunk(const SlowPathCallKey& key)
{
return generateIfNecessary(
Modified: trunk/Source/_javascript_Core/heap/CodeBlockSet.h (229179 => 229180)
--- trunk/Source/_javascript_Core/heap/CodeBlockSet.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/heap/CodeBlockSet.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -43,8 +43,8 @@
// once they hasOneRef() and nobody is running code from that CodeBlock.
class CodeBlockSet {
+ WTF_MAKE_FAST_ALLOCATED;
WTF_MAKE_NONCOPYABLE(CodeBlockSet);
-
public:
CodeBlockSet();
~CodeBlockSet();
Modified: trunk/Source/_javascript_Core/heap/GCSegmentedArray.h (229179 => 229180)
--- trunk/Source/_javascript_Core/heap/GCSegmentedArray.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/heap/GCSegmentedArray.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -63,6 +63,8 @@
template <typename T>
class GCSegmentedArray {
+ WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_NONCOPYABLE(GCSegmentedArray);
friend class GCSegmentedArrayIterator<T>;
friend class GCSegmentedArrayIterator<const T>;
public:
Modified: trunk/Source/_javascript_Core/heap/MachineStackMarker.h (229179 => 229180)
--- trunk/Source/_javascript_Core/heap/MachineStackMarker.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/heap/MachineStackMarker.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -40,6 +40,7 @@
};
class MachineThreads {
+ WTF_MAKE_FAST_ALLOCATED;
WTF_MAKE_NONCOPYABLE(MachineThreads);
public:
MachineThreads();
Modified: trunk/Source/_javascript_Core/heap/MarkingConstraintSet.h (229179 => 229180)
--- trunk/Source/_javascript_Core/heap/MarkingConstraintSet.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/_javascript_Core/heap/MarkingConstraintSet.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -35,6 +35,8 @@
class MarkingConstraintSolver;
class MarkingConstraintSet {
+ WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_NONCOPYABLE(MarkingConstraintSet);
public:
MarkingConstraintSet(Heap&);
~MarkingConstraintSet();
Modified: trunk/Source/WTF/ChangeLog (229179 => 229180)
--- trunk/Source/WTF/ChangeLog 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/WTF/ChangeLog 2018-03-02 17:55:22 UTC (rev 229180)
@@ -1,3 +1,13 @@
+2018-03-02 Yusuke Suzuki <[email protected]>
+
+ [JSC] Annotate more classes with WTF_MAKE_FAST_ALLOCATED
+ https://bugs.webkit.org/show_bug.cgi?id=183279
+
+ Reviewed by JF Bastien.
+
+ * wtf/SimpleStats.h:
+ * wtf/ThreadGroup.h:
+
2018-03-01 Yusuke Suzuki <[email protected]>
Remove monotonicallyIncreasingTime
Modified: trunk/Source/WTF/wtf/SimpleStats.h (229179 => 229180)
--- trunk/Source/WTF/wtf/SimpleStats.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/WTF/wtf/SimpleStats.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -34,6 +34,7 @@
// Simple and cheap way of tracking statistics if you're not worried about chopping on
// the sum of squares (i.e. the sum of squares is unlikely to exceed 2^52).
class SimpleStats {
+ WTF_MAKE_FAST_ALLOCATED;
public:
SimpleStats()
: m_count(0)
Modified: trunk/Source/WTF/wtf/ThreadGroup.h (229179 => 229180)
--- trunk/Source/WTF/wtf/ThreadGroup.h 2018-03-02 17:52:17 UTC (rev 229179)
+++ trunk/Source/WTF/wtf/ThreadGroup.h 2018-03-02 17:55:22 UTC (rev 229180)
@@ -35,6 +35,8 @@
enum class ThreadGroupAddResult { NewlyAdded, AlreadyAdded, NotAdded };
class ThreadGroup : public std::enable_shared_from_this<ThreadGroup> {
+ WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_NONCOPYABLE(ThreadGroup);
public:
friend class Thread;