Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • similar to CMR atomic buffer implementation [4]
  • use AbstractObjectSizes class for calculating object sizes [5]
  • separate thread for analyzing and calculating the buffer size
  • separate thread for eviction operation by FIFO policy; this operation has to be suspended while the size of all objects in the buffer is smaller than the buffer maximum size
  • use a in the analysis thread, signal the eviction thread if needed
  • use conditions for suspending and activating the threads that work on eviction and analysis

...