Package-level declarations
Types
Link copied to clipboard
Note: this API is unstable and may change in any release.
Since Kotlin 1.9
Link copied to clipboard
Link copied to clipboard
class GCInfo(val epoch: Long, val startTimeNs: Long, val endTimeNs: Long, val firstPauseRequestTimeNs: Long, val firstPauseStartTimeNs: Long, val firstPauseEndTimeNs: Long, val secondPauseRequestTimeNs: Long?, val secondPauseStartTimeNs: Long?, val secondPauseEndTimeNs: Long?, val postGcCleanupTimeNs: Long?, val rootSet: RootSetStatistics, val markedCount: Long, val sweepStatistics: Map<String, SweepStatistics>, val memoryUsageBefore: Map<String, MemoryUsage>, val memoryUsageAfter: Map<String, MemoryUsage>)
This class represents statistics about the single run of the garbage collector. It is supposed to be used for testing and debugging purposes only.
Since Kotlin 1.9
Link copied to clipboard
This class represents statistics of memory usage in one memory pool.
Since Kotlin 1.9
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS] )
This annotation marks the Kotlin/Native standard library API that tweaks or otherwise accesses the Kotlin runtime behavior.
Since Kotlin 1.9
Link copied to clipboard
class RootSetStatistics(val threadLocalReferences: Long, val stackReferences: Long, val globalReferences: Long, val stableReferences: Long)
This class represents statistics of the root set for garbage collector run, separated by root set pools. These nodes are assumed to be used, even if there are no references for them.
Since Kotlin 1.9
Link copied to clipboard
This class represents statistics of sweeping in one memory pool.
Since Kotlin 1.9