Hi Friends,
I have written a
thread program which is keep on running. In that thread i am catching NullpointerException in a single place.
When i did memory profiling i got more than one lakh objects of NPE is available in memory.
My doubt is when this NullPointerException will be getting garbage collected. Will JVM wait to complete the thread execution?
Please help me on this.
Thanks,
Ila