Avoid scanning stack guard page, and remove unnecessary global object ro...

...oting.