objectpool Questions

12

Solved

How do you optimize the heap size usage of an application that has a lot (millions) of long-lived objects? (big cache, loading lots of records from a db) Use the right data type Avoid java.lang...
Interjoin asked 25/4, 2009 at 15:26

3

Solved

For a while at my company we've used a home-grown ObjectPool<T> implementation that provides blocking access to its contents. It's pretty straightforward: a Queue<T>, an object to lock ...
Broncho asked 14/6, 2010 at 18:14

1

Recently i have been looking for a pool/allocator mechanism. Boost Pool seems to provide the solution, but there is still things, which it have not been able to deduce from the documentation. What ...
Marcy asked 16/2, 2014 at 14:2

1

Solved

Our app creates alot of small objects while running. It mostly comes down to Autoreleased NSString and NSNumber objects. Since the app is designed to run "24/7" in the background heap fragmentation...
Furl asked 14/12, 2013 at 20:9

1

Solved

I was under the impression that an object pool is a design pattern used for managing a group of pre-allocated objects to which a client can request and be returned one of these objects. However, it...
Azores asked 6/4, 2013 at 1:28

1

What is the preferred way in scala for managing object pools? I need to create and delete large scale of objects single-threaded (no need for synchronization) . In c++ I've used array of static ob...
Earthquake asked 25/9, 2012 at 2:27

3

As far as I know the object pool is a creational pattern and the flyweight is a structural pattern, but actually I can´t see very much difference between the two. Could someone please explain to me...
Scholarship asked 17/2, 2012 at 2:37
1

© 2022 - 2024 — McMap. All rights reserved.