Parallelism in ConcurrentHashMap

ConcurrentHashMap is used extensively in multi-threaded applications. The examples of multi-threaded applications are online gaming applications, chat applications, it adds the benefit of concurrency to the application. To make application more  concurrent in nature, ConcurrentHashMap introduces a concept called ‘Parallelism’. In this article we will learn more about parallelism in ConcurrentHashMap. What is Parallelism? Basically,... Continue Reading →

Java threads – may not be memory effecient?

Java applications tend to contain hundreds (sometimes thousands) of threads. The majority of these threads are in WAITING, TIMED_WAITING (i.e., dormant) state, while only a small portion of the threads are actively executing lines of code. So, we were curious to know whether dormant threads consume less memory than active threads. To figure out an... Continue Reading →

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... Continue Reading →

Up ↑