InvalidationReason

An enumeration of reasons why a chunk might be invalidated.

Entries

Link copied to clipboard

The chunk is being invalidated because a method it depends on has changed.

Link copied to clipboard

The chunk is being invalidated due to it being evicted due to too many chunks being in existence.

Link copied to clipboard

The chunk is being invalidated to collect code coverage stats.

Properties

Link copied to clipboard

The number of invocations that must happen after this invalidation before the code will be optimized into another chunk.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Statistic for tracking the cost of invalidating chunks due to this reason.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.