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

Samsung Galaxy S23 5G vs Samsung Galaxy S23 FE 5G: Which is Better?
Amazon revamps Kindle line with faster page turns, AI, and a new green color
Samsung Galaxy Ring With IP68 Rating, Health Tracking Launched in India: Price, Specifications
How to Manage Firewalld and UFW on Linux
Oppo K12 Plus With Snapdragon 7 Gen 3 Chipset, 6,400mAh Battery Launched: Price, Specifications

Leave a Reply

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