answersLogoWhite

0

Who performs the garbage collection?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

A garbage truck. In computer programming, a process known as the garbage collector.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Who performs the garbage collection?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you force garbage collection in java?

. Garbage collection cannot be forced. Calling System.gc() or Runtime.gc() is not 100 percent reliable, since the garbage-collection thread might defer to a thread of higher priority


What is the need for garbage collection?

Assuming you mean garbage collection in computers: it is a method often used to reclaim memory, once it is no longer used. Note that garbage collection is not the only possible way to manage memory.


Garbage collection in the Middle Ages was often done by .?

Garbage collection in the Middle Ages was often done by roaming animals.


Who are famous people who have a garbage collection?

Everyone in the world has a garbage collection and really does not matter if you are famous or not. To not have your garbage collected would be consider unsanitary to some and hoarding to others.


How you can inforce the garbage collection?

Forcing Garbage CollectionFirst and foremost, unlike this paragraphs title, garbage collection cannot be forced. However, Java provides some methods that allow you to request that the JVM perform garbage collection.In reality, it is possible only to suggest to the JVM that it perform garbage collection. However, there are no guarantees the JVM will actually remove all of the unused objects from memory (even if garbage collection is run).


2 What is the purpose of garbage collection in java and when is it used?

Garbage collection prevents memory leaks. In Java, the Java Virtual Machine will garbage collect whenever there is memory that has no references.


What are the Rules and regulations in collection and disposal of garbage?

recycling


When the number of references to an object becomes that object is marked for garbage collection?

When the object is no longer referenced anywhere else in your program, then the object becomes marked for garbage collection.


Give the brief introduction of garbage collection?

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.


What level of government handles garbage collection?

Local government.


What is ment by tissue?

Tissue is a collection of cells that performs same function.


What are the recycling days in Rockville Centre New York?

Collection Schedule Circle SectionMonday - Garbage & RecyclablesWednesday - Rubbish & NewspapersThursday - Garbage & RecyclablesSquare SectionTuesday - Garbage & RecyclablesWednesday - Rubbish & NewspapersFriday - Garbage & Recyclables