Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4172142
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T00:31:38+00:00 2026-05-21T00:31:38+00:00

How Generational GC works ? Totally what is Generational GC ? thanks

  • 0

How Generational GC works ?
Totally what is Generational GC ?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T00:31:38+00:00Added an answer on May 21, 2026 at 12:31 am

    Wikipedia’s explanation.

    A generational GC (also known as
    ephemeral GC) divides objects into
    generations and, on most cycles, will
    place only the objects of a subset of
    generations into the initial white
    (condemned) set. Furthermore, the
    runtime system maintains knowledge of
    when references cross generations by
    observing the creation and overwriting
    of references. When the garbage
    collector runs, it may be able to use
    this knowledge to prove that some
    objects in the initial white set are
    unreachable without having to traverse
    the entire reference tree. If the
    generational hypothesis holds, this
    results in much faster collection
    cycles while still reclaiming most
    unreachable objects.

    Basically, it’s a heuristic approach. The Garbage collection puts newly created objects in a memory region (called white set), when this set is full, those objects that are still referenced are moved to another region, and the white set is cleared and populated with fresh new objects. The white set is the hypothesis that the objects found there are generally unreachable.

    For further reading on JVM Fine-Tuning of Garbage Collection.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an app which works fine in an iPhone4. I'm trying to
It turns out that the following example works when using mysql 5.x, however it
I was playing around with the DatabaseMetaData class to see how it works. The
I am (quite) an experienced programmer but totally new to Ruby and Ruby on
Does anybody know how the default key generation for Ehcache works? If I have
I think that both (generational and incremental) are different approaches to make the garbage
I'm currently working on a procedural planet generation tool that works by taking a
I would like to understand how Simulink simulation engine works. Does it use a
The following query works properly to pull company names from one table into jquery
I'm writing a simple parser in C++ that works using a map of string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.