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 7513713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:16:13+00:00 2026-05-30T00:16:13+00:00

Netbeans’ memory monitoring tool (which is the same tool as VisualVm) has an interesting

  • 0

Netbeans’ memory monitoring tool (which is the same tool as VisualVm) has an interesting metric for tracking memory leaks : the Surviving Generations Metric.

A definition of this metric can be found on oracle.com :

  • a Generation is a set of instances created within the same GC interval (between two garbage collections)
  • a Surviving Generation is a Generation that survives at least one garbage collection. The number of survived garbage collections – the generation’s age – is its unique identifier
  • Surviving Generations (metrics) value is the number of different Surviving Generations that are currently alive on the heap (number of Generations with different generation ages)

I have a question about the second definition. I know what it means for an instance to survive a garbage collection. But I’m not sure what it means for a generation to survive a garbage collection. Does it mean that at least one instance of the generation survives the garbage collection ?

  • 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-30T00:16:14+00:00Added an answer on May 30, 2026 at 12:16 am

    Yes. Basically that means, that among the instances, that were created between garbage collection X and X+1, there are some, that are alive now, when more garbage collections have occurred.

    In my opinion, all three definitions make sense only per class. I mean, “Surviving Generations (metrics) value” of the given class is the number of different Generations of this class that are now alive on the heap.

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

Sidebar

Related Questions

NetBeans IDE has a built-in local history feature which creates a thousands of files
In Netbeans IDE i am writing a java class which has some method. One
In NetBeans 6.7.1, I had a Java project in which I renamed some classes.
my NetBeans has ugly fonts in interface. I'm going to make antialiasing for it.
Netbeans is returning a NoClassDefFoundError, but my class is right there! Has this happened
In Netbeans 7.1 Git support has been added, however, I don't see a way
Netbeans has nice option of showing the author of specific line by using team
NetBeans has some great features in it like auto-generating code. However there are some
Which NetBeans plug-ins or tools would you recommend for JSF development?
Netbeans ide has rails console? I use Netbeans for PHP for a long time,

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.