This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: program is running) • Disadvantage: – Slow. Every pointer assignment needs to increase/decreased a reference count. – Unable to free cycles Reference Counting Global Vars Stack Register s Ref=2 Ref=2 Ref=0 Ref=1 Ref=1 Ref=1 Ref=1 Ref=0...
View Full Document
- Fall '08
- Operating Systems, Pointer, Garbage collection, Smart pointer, Reference counting