func (self *Thread) NewFrame(method *heap.Method) *Frame { if method.IsNative() { return newNativeFrame(self, method) } else { return self.frameCache.borrowFrame(method) //return newFrame(self, method) } }