dev@grizzly.java.net

SlabMemoryFilter

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 05 Jan 2009 19:14:33 +0100

Hi John,

I had some time today to take a look at Slabs memory management code
in Grizzly 2.0. IMHO it looks very good, thank you!
Have one idea about SlabMemoryFilter... IMHO we can avoid to use such
a filter, but correct me if I'm wrong. The idea is to move the logic
from this Filter to SlabMemoryManager(Base). So, when you'll call
SlabMemoryManager.allocate(...) - it will check current thread and
associated slab allocator. So we can avoid of using additional Filter.
What do you think?

Thanks,

WBR,
Alexey.