Changeset 229180 in webkit


Ignore:
Timestamp:
Mar 2, 2018 9:55:22 AM (6 years ago)
Author:
Yusuke Suzuki
Message:

[JSC] Annotate more classes with WTF_MAKE_FAST_ALLOCATED
https://bugs.webkit.org/show_bug.cgi?id=183279

Reviewed by JF Bastien.

Source/JavaScriptCore:

  • bytecode/BytecodeIntrinsicRegistry.h:
  • ftl/FTLThunks.h:
  • heap/CodeBlockSet.h:
  • heap/GCSegmentedArray.h:
  • heap/MachineStackMarker.h:
  • heap/MarkingConstraintSet.h:

Source/WTF:

  • wtf/SimpleStats.h:
  • wtf/ThreadGroup.h:
Location:
trunk/Source
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r229174 r229180  
     12018-03-02  Yusuke Suzuki  <utatane.tea@gmail.com>
     2
     3        [JSC] Annotate more classes with WTF_MAKE_FAST_ALLOCATED
     4        https://bugs.webkit.org/show_bug.cgi?id=183279
     5
     6        Reviewed by JF Bastien.
     7
     8        * bytecode/BytecodeIntrinsicRegistry.h:
     9        * ftl/FTLThunks.h:
     10        * heap/CodeBlockSet.h:
     11        * heap/GCSegmentedArray.h:
     12        * heap/MachineStackMarker.h:
     13        * heap/MarkingConstraintSet.h:
     14
    1152018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
    216
  • trunk/Source/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.h

    r226310 r229180  
    9898
    9999class BytecodeIntrinsicRegistry {
     100    WTF_MAKE_FAST_ALLOCATED;
    100101    WTF_MAKE_NONCOPYABLE(BytecodeIntrinsicRegistry);
    101102public:
  • trunk/Source/JavaScriptCore/ftl/FTLThunks.h

    r214571 r229180  
    7676
    7777class Thunks {
     78    WTF_MAKE_FAST_ALLOCATED;
     79    WTF_MAKE_NONCOPYABLE(Thunks);
    7880public:
     81    Thunks() = default;
    7982    MacroAssemblerCodeRef getSlowPathCallThunk(const SlowPathCallKey& key)
    8083    {
  • trunk/Source/JavaScriptCore/heap/CodeBlockSet.h

    r226783 r229180  
    4444
    4545class CodeBlockSet {
     46    WTF_MAKE_FAST_ALLOCATED;
    4647    WTF_MAKE_NONCOPYABLE(CodeBlockSet);
    47 
    4848public:
    4949    CodeBlockSet();
  • trunk/Source/JavaScriptCore/heap/GCSegmentedArray.h

    r222113 r229180  
    6464template <typename T>
    6565class GCSegmentedArray {
     66    WTF_MAKE_FAST_ALLOCATED;
     67    WTF_MAKE_NONCOPYABLE(GCSegmentedArray);
    6668    friend class GCSegmentedArrayIterator<T>;
    6769    friend class GCSegmentedArrayIterator<const T>;
  • trunk/Source/JavaScriptCore/heap/MachineStackMarker.h

    r225524 r229180  
    4141   
    4242class MachineThreads {
     43    WTF_MAKE_FAST_ALLOCATED;
    4344    WTF_MAKE_NONCOPYABLE(MachineThreads);
    4445public:
  • trunk/Source/JavaScriptCore/heap/MarkingConstraintSet.h

    r226783 r229180  
    3636
    3737class MarkingConstraintSet {
     38    WTF_MAKE_FAST_ALLOCATED;
     39    WTF_MAKE_NONCOPYABLE(MarkingConstraintSet);
    3840public:
    3941    MarkingConstraintSet(Heap&);
  • trunk/Source/WTF/ChangeLog

    r229174 r229180  
     12018-03-02  Yusuke Suzuki  <utatane.tea@gmail.com>
     2
     3        [JSC] Annotate more classes with WTF_MAKE_FAST_ALLOCATED
     4        https://bugs.webkit.org/show_bug.cgi?id=183279
     5
     6        Reviewed by JF Bastien.
     7
     8        * wtf/SimpleStats.h:
     9        * wtf/ThreadGroup.h:
     10
    1112018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
    212
  • trunk/Source/WTF/wtf/SimpleStats.h

    r205462 r229180  
    3535// the sum of squares (i.e. the sum of squares is unlikely to exceed 2^52).
    3636class SimpleStats {
     37    WTF_MAKE_FAST_ALLOCATED;
    3738public:
    3839    SimpleStats()
  • trunk/Source/WTF/wtf/ThreadGroup.h

    r219760 r229180  
    3636
    3737class ThreadGroup : public std::enable_shared_from_this<ThreadGroup> {
     38    WTF_MAKE_FAST_ALLOCATED;
     39    WTF_MAKE_NONCOPYABLE(ThreadGroup);
    3840public:
    3941    friend class Thread;
Note: See TracChangeset for help on using the changeset viewer.