Menu

#164 Object Pooling

Some sunny day
closed
None
5
2014-12-28
2014-12-27
No

Object pool optimisations. Sometimes Java will be creating too many similar objects. Instead of doing this is it possible to add an object pooling mechanism.

Discussion

  • Eric Lafortune

    Eric Lafortune - 2014-12-28

    The JVM/Hotspot specialists advise against object pooling on modern JVMs. In any case, it seems very hard to apply such an optimization automatically, since the optimizer would have to add its own tracking mechanism to find dead objects.

     
  • Eric Lafortune

    Eric Lafortune - 2014-12-28
    • status: open --> closed
    • assigned_to: Eric Lafortune
     

Log in to post a comment.