• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Technique for Garbage Collector

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
which of the following technique is used by java
for garbage collector?

a) mark & sweep
b) reference counting
c) branch & bound
d) divide & conquer

which option is correct?
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Thanjai,

check out the following article on garbage collection at JavaWorld.com http://www.javaworld.com/javaworld/jw-03-2003/jw-0307-j2segc.html. It may answer your question in depth.

Hope this helps.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
collect and incinerate.
The garbage heap is full and Sun has invested heavily in an environmentally clean incinerator.
Full filtering of the exhaust air, the heat generated is used to heat the Sun offices worldwide.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try hard to not care. It might change completely in the next JVM from Sun or another vendor.
reply
    Bookmark Topic Watch Topic
  • New Topic