Use boolean flag for detecting whether there're updated objects instead of doing real object counter (which required spin lock).
Use boolean flag for detecting whether there're updated objects instead of doing real object counter (which required spin lock).