Debug.ThreadGcInvocationCount 属性

定义

返回 a #startAllocCounting() start#stopAllocCounting() stop之间的线程本地非并发 GC 调用数。

public static int ThreadGcInvocationCount { [Android.Runtime.Register("getThreadGcInvocationCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getThreadGcInvocationCount", "()I", "")>]
static member ThreadGcInvocationCount : int

属性值

属性

注解

返回 a #startAllocCounting() start#stopAllocCounting() stop之间的线程本地非并发 GC 调用数。

此成员已弃用。 准确的计数是运行时的负担,可以删除。

Java文档android.os.Debug.getThreadGcInvocationCount()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于