answersLogoWhite

0

Garbage collection in java is nothing but the process of freeing up unused memory from the JVM memory heap.

Every time an object is created, it is allocated some space in the memory. Once the use for that object is over, that memory space needs to be released so that it can be used by other objects.

In Java, this process is automated and the JVM takes care of doing this. Once in a while, a program that performs this garbage collection runs and frees up memory for other objects to use. All objects whose references are no longer used are cleared.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

A brief introduction of polynomial?

The link to the left will give you the basics.


Give five examples of ecosystem structures with their brief introduction?

Give 5 examples of an ecosystem


How do you write an introduction when presenting a new brand?

In the introduction we will have to give a brief idea about your brand. it includes the brand name, objectives, caption etc. From the introduction it will be clear that what this brand for.


How do you write an introduction in a school debate?

by just saying what is in your piece give a brief description about what your piece is actually about


How do you start an introduction about airplanes?

It depends on what your essay says. You don't write the introduction until you've finished the rest of the piece. Make your points, then use the introduction to give a brief overview of what will be said in the essay. The introduction tells readers what to expect, so you have to have the rest of the essay done before you can finish that.


Can you give a brief hospitality from ADNOC?

Can You Give a Brief Hospitality Expected


What is included in the Preamble to the Constitution?

The Preamble is a brief introduction to the Constitution of the United States. It does not give power to any government agency or entity and only serves as a preface to what is contained in the document.


Give you example of introduction?

what is an description introduction?


How does the saying 'garbage in garbage out' apply to computers and calculators?

'Garbage In Garbage Out' is a phrase that indicates that computers cannot give a right answer if they have the wrong data.


Can you give us a sentence with the word brief in it?

Your question was brief.


What is the preface or introduction to a book?

They give the reader a brief synopsis of what the book is about. It's usually written to grab the readers attention and make them want to read the book. It doesn't, however, always work.


What is the introduction for a science fair project?

introduction (or research) you can give or should give detailed background information!