What I really dislike about C is that you have to manually manage memory yourself.
In Java, the beauty is that I can make my code nice and uncomplex without worrying about all the little things.
Currently I’m finding myself working around the GC in order to ensure there are no pauses for a lower end system.
I wish I could disable the GC until I call ‘System.gc()’.
At least I want to be able to ensure that the GC is only applied to generation 1 objects until I say it’s okay for it to collect object of other generations.
Is there anyway of controlling Java’s GC?
I have not read any articles about this, I checked Javalobby and Googled this up.
All I managed to find is information which I already have alternatives to; walking around the garbage collector, modifying code to a degree that I have a large mess which is a headache to keep up with.
Is there any possibility that Sun could implement strict GC controlling methods in system which allows the developer say “when” to the GC?
Increasing the memory of managed pool can only go so far.
There can be exceptions thrown if the managed pool is filled.
I just want tighter control of memory to a certain extent.