语言

Debug.GlobalClassInitCount 属性

定义

注意

deprecated

返回成功初始化的类数(即在 a 和#startAllocCounting() start之间#stopAllocCounting() stop未引发异常的情况下执行的类数)。

[System.Obsolete("deprecated")]
public static int GlobalClassInitCount { [Android.Runtime.Register("getGlobalClassInitCount", "()I", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getGlobalClassInitCount", "()I", "")>]
static member GlobalClassInitCount : int

属性值

成功初始化的类数(即在 a 和#stopAllocCounting() stop之间#startAllocCounting() start未引发异常的情况下执行的类数)。

属性

注解

返回成功初始化的类数(即在 a 和#startAllocCounting() start之间#stopAllocCounting() stop未引发异常的情况下执行的类数)。

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

Java文档android.os.Debug.getGlobalClassInitCount()。

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

适用于