Garbage collection technique

BT Skills
EXPLANATION :
A mark and sweep garbage collection consists of two phases, the mark phase and the sweep phase. I mark phase all the objects reachable by java threads, native handles and other root sources are marked alive and others are garbage. In sweep phase, the heap is traversed to find gaps between live objects and the gaps are marked free list used for allocating memory to new objects.

#TechEducation #CareerDevelopment #JavaProgramming #JavaTutorial #JavaDevelopment #JavaCode #JavaProjects #LearnJava #JavaTips #JavaTricks #JavaBasics #JavaOOP #JavaWebDevelopment #JavaEE #JavaFrameworks #JavaInterview #JavaCertification #JavaCommunity #CodingInJava #ProgrammingInJava #JavaBeginners #JavaAdvanced #JavaExplained

Products You May Like

Articles You May Like

Apple Music’s latest feature lets artists create dedicated playlists for concerts and tours
Redmi A4 5G With Snapdragon 4s Gen 2 Chip Unveiled at India Mobile Congress 2024
Nothing Phone 2a Community Edition to Debut on October 30
How to Run Own Online SMS Portal with playSMS in Linux
7 Linux Distributions That Feel Just Like Windows

Leave a Reply

Your email address will not be published. Required fields are marked *