• Post Reply Bookmark Topic Watch Topic
  • New Topic

garbage collector is under heavy use ?  RSS feed

 
abhay jain
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we know if our garbage collector is under heavy use?
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way is printing the GC details using -verbose:gc
 
abhay jain
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me when and how to use it

 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this is Beginning Java: you don't need it. The jvm will do the work for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!