|
|
|
|
|
by kpil
3691 days ago
|
|
I agree. It would be good with some kind of fly-weight allocation for a whole array of objects in java. How is garbage collection for arrays of value objects solved? Is the whole array gc:d, or what? If an individual element is referenced somewhere the array stays in memory? |
|