Those objects can be allocated directly on the stack (which is faster) and do not enter the heap or require inspection or removal by the normal garbage collector (which reduces GC).
这样,我们就可以直接在栈上为这些对象开辟内存空间(这么做更快),无需使用堆,也不必使用常规的GC手段进行对象检测与移除了(这么做会降低GC的次数,进而提升效率)。
During one of my final visits, Biro led me through his lab, where a new stack of orphaned paintings awaited inspection.
在我最后一次访问他家时,比罗带我去了实验室,那里有一大堆孤本画等待检测。
Other useful features in the Console API are stack traces, object inspection, and string formatting.
Console API内其他有用的特性还有堆栈跟踪、对象检查和字符串格式化。
应用推荐