fixed an error in the startup refrector-agent
Fix an issue on multi-processor environment.
Fix an issue on multi-core environment.
Merge remote-tracking branch 'origin/master'