Ignore:
Timestamp:
Jan 29, 2011, 9:58:30 PM (15 years ago)
Author:
[email protected]
Message:

2011-01-29 Geoffrey Garen <[email protected]>

Reviewed by Maciej Stachowiak.

Switched heap to use the Bitmap class and removed CollectorBitmap
https://bugs.webkit.org/show_bug.cgi?id=53391


SunSpider says 1.005x as fast. Seems like a fluke.

  • runtime/MarkedSpace.cpp: (JSC::MarkedSpace::allocate): Updated for rename and returning a value rather than taking a value by reference.
  • runtime/MarkedSpace.h: Code reuse is good.
  • wtf/Bitmap.h: (WTF::::testAndSet): Added, since this is the one thing Bitmap was missing which CollectorBitmap had. (Renamed from the less conventional "getset".)

(WTF::::nextPossiblyUnset): Renamed and changed to return a value for
clarity. It's all the same with inlining.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r77077 r77080  
     12011-01-29  Geoffrey Garen  <[email protected]>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Switched heap to use the Bitmap class and removed CollectorBitmap
     6        https://bugs.webkit.org/show_bug.cgi?id=53391
     7       
     8        SunSpider says 1.005x as fast. Seems like a fluke.
     9
     10        * runtime/MarkedSpace.cpp:
     11        (JSC::MarkedSpace::allocate): Updated for rename and returning a value
     12        rather than taking a value by reference.
     13
     14        * runtime/MarkedSpace.h: Code reuse is good.
     15
     16        * wtf/Bitmap.h:
     17        (WTF::::testAndSet): Added, since this is the one thing Bitmap was missing
     18        which CollectorBitmap had. (Renamed from the less conventional "getset".)
     19
     20        (WTF::::nextPossiblyUnset): Renamed and changed to return a value for
     21        clarity. It's all the same with inlining.
     22
    1232011-01-28  Geoffrey Garen  <[email protected]>
    224
Note: See TracChangeset for help on using the changeset viewer.