Call By Value & Call By Reference in Java

Call By Value & Call By Reference in Java

Hey, Tea Lovers! Today we will take a look at the basic but tricky interview question, Call By Value & Call By Reference in Java. Both beginners and experienced developers get this question in interviews. It’s a technical interviewer’s favorite question. This post is one of the many in the series of Interview Questions, where we don’t just hang you with one line answer, but rather try to explain it so that it gets fits into your head. ...

February 18, 2022 Â· 6 min Â· Mahesh More
A Day in the Life of Java Code in JVM

A Day in the Life of Java Code in JVM

Hey, Tea Lovers! Today we will talk about Java Memory Management with the example. We will look at the code and then how it is affecting the JVM. So the relationship between these 2. I will try to explain it line by line. So let us see how a code lives its life. It is part of the JVM post series “Get Ready to Deep Dive Java Memory Management”. Before we explain examples first we will understand the java rules for java memory allocation. ...

July 3, 2020 Â· 5 min Â· Mahesh More
Be more Functional with Java's Functional Interfaces

Monitor Your Java Memory with these Tools

Hey Tea lovers! Today, we will talk about Java memory monitoring tools. You will need them when you want to see how well or worst your code is performing, or if you don’t know what’s going on in there. I have added not only the information about them but also videos showing how to use them in brief. It is the continuation of the post series This is the continuation of the post series “Get Ready to Deep Dive Java Memory Management”. ...

July 3, 2020 Â· 4 min Â· Imran Shaikh
StackHeapvarbleRef-2

Get Ready to Deep Dive in Java Memory Management: Garbage Collector

Hey Tea lovers! This post is about garbage collectors in Java. This is the continuation of the post series “Get Ready to Deep Dive Java Memory Management”. In Java memory management, a Garbage collector is the process by which Java programs perform automatic memory management. This is a more complicated process than just garbage collecting and freeing up memory. The garbage collector is expensive to process which leads to a stop-the-world event. ...

July 2, 2020 Â· 8 min Â· Mahesh More
Untitled-Diagram

Get Ready to Deep Dive in Java Memory Management: Structure of JVM Memory

Hey, Tea Lovers! Today we will talk about Java Memory Management. Memory management is the process of the allocation & de-allocation of objects from a memory and it’s done automatically with the help of a garbage collector. As Java programmers, we do not bother about java memory management as Java has an automatic garbage collector that works in the background to clean up unused objects and free up java memory. ...

July 2, 2020 Â· 7 min Â· Mahesh More