title: How to write own garbage collector in java?
body: <p>This is most generally asked question in interview. I do not want to use Java garbage collector. How we can implement own garbage-collector functionality. Does anyone have solution for this question ? </p>