 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1016493002:
    Add a DiscardableMemoryShmemeAllocator.  (Closed)
    
  
    Issue 
            1016493002:
    Add a DiscardableMemoryShmemeAllocator.  (Closed) 
  | DescriptionAdd a DiscardableMemoryAllocator to html_viewer.
Recent changes to skia now require this object, and crash if this
factory isn't supplied. We create the minimal implementation to get a
Google search working in html_viewer. This allocator will free
unlocked chunks once it has reached its memory threshold.
We're starting with a soft limit of 20 megabytes. We'll adjust this
based on observed performance.
Committed: https://crrev.com/5f32298dbf36a4c48ef02d18b6acb1f2be759195
Cr-Commit-Position: refs/heads/master@{#321461}
   Patch Set 1 #
      Total comments: 4
      
     Patch Set 2 : Build a simple allocator. #Patch Set 3 : Better comment. #Patch Set 4 : Add unit tests #
      Total comments: 6
      
     Patch Set 5 : Rebase to ToT and hit jamesr's comments. #Patch Set 6 : And fix the unittests #
      Total comments: 10
      
     Patch Set 7 : more jamesr comments #Patch Set 8 : Only keep track of unlocked chunks. #
      Total comments: 4
      
     Patch Set 9 : jamesr comments + rebase to ToT #
 Messages
    Total messages: 25 (6 generated)
     | |||||||||||||||||||||||||||||||||||||||||||||||||||||||