次の方法で共有


Debug.ThreadGcInvocationCount Property

Definition

Returns the number of thread-local non-concurrent GC invocations between a #startAllocCounting() start and #stopAllocCounting() stop.

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

Property Value

Attributes

Remarks

Returns the number of thread-local non-concurrent GC invocations between a #startAllocCounting() start and #stopAllocCounting() stop.

This member is deprecated. Accurate counting is a burden on the runtime and may be removed.

Java documentation for android.os.Debug.getThreadGcInvocationCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to