Mark
Compacting approach combines Mark-sweeping and copying
in a way that to solve the drawback
of requiring twice as much memory in copying collectors. First,
reachable objects are marked, then a compacting step relocates the
reachable (marked) objects towards the beginning of the heap area. So
all the live objects are at the beginning of heap area.
This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment