Debug.GlobalGcInvocationCount 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 a #startAllocCounting() start 和 #stopAllocCounting() stop之间的非并发 GC 调用数。
public static int GlobalGcInvocationCount { [Android.Runtime.Register("getGlobalGcInvocationCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getGlobalGcInvocationCount", "()I", "")>]
static member GlobalGcInvocationCount : int
属性值
- 属性
注解
返回 a #startAllocCounting() start 和 #stopAllocCounting() stop之间的非并发 GC 调用数。
此成员已弃用。 准确的计数是运行时的负担,可以删除。
Java文档android.os.Debug.getGlobalGcInvocationCount()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。