Ignore:
Timestamp:
Oct 7, 2002, 2:06:29 PM (23 years ago)
Author:
darin
Message:

Fixed absurdly high memory usage when looking at pages that use a lot of JavaScript.

  • kjs/collector.cpp: (Collector::allocate): Implement a new policy of doing a garbage collect every 1000 allocations. The old policy was both complicated and misguided. (Collector::collect): Zero out the "number of allocations since last collect".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog-2002-12-03

    r2262 r2267  
     12002-10-07  Darin Adler  <[email protected]>
     2
     3        Fixed absurdly high memory usage when looking at pages that use a lot of JavaScript.
     4
     5        * kjs/collector.cpp:
     6        (Collector::allocate): Implement a new policy of doing a garbage collect every 1000
     7        allocations. The old policy was both complicated and misguided.
     8        (Collector::collect): Zero out the "number of allocations since last collect".
     9
    1102002-10-06  Darin Adler  <[email protected]>
    211
Note: See TracChangeset for help on using the changeset viewer.