Simple object pooling for Java