In Java, the finalize method has been part of the language since its early days, offering a mechanism to perform cleanup activities before an object is garbage collected. However, using finalizers has come under scrutiny due to several performance-related concerns.... Continue Reading →
UseStringDeduplication – pros and cons Let me start this article with an interesting statistic (based on the research conducted by the JDK development team): + 25% of Java applications memory is filled up with strings. + 13.5% are duplicate strings... Continue Reading →
In early 1970s 1 MB was costing 1 million $. Now 1 mb is costing fraction of that cost. There is no comparison. This is one of the reasons why engineers and enterprises don’t worry about memory any more.