Bug 988486 - Convert static functions to methods on GCRuntime r=terrence