WHAT HAPPENS BEHIND THE SCENE – FINALIZE() METHOD?

“What is the purpose of finalize() method?” is one of the often asked Java interview questions. The typical answer to it is: “Usual purpose of finalize() method is to perform cleanup actions before the object is discarded”. However, behind the scene, finalize() method are handled in a special way. A small mistake in finalize() method has the potential to jeopardize entire application’s availability. Let’s study it in detail.

Continue reading “WHAT HAPPENS BEHIND THE SCENE – FINALIZE() METHOD?”

WORD/POWERPOINT/EXCEL OR GC/THREAD/HEAP DUMPS

If you want to learn about the architecture of the application, performance characteristics of the application, effectiveness of the engineering organization – lot of times (if not all the times), we will look at the Word documents, PowerPoint decks, Excel spreadsheets that have been put together by the engineers/managers/executives of that application. In these artifacts truth can be exaggerated, truth can be untold, truth can be misstated. In some cases, it can even contain lie. What do we mean by it?

Continue reading “WORD/POWERPOINT/EXCEL OR GC/THREAD/HEAP DUMPS”

Blog at WordPress.com.

Up ↑