Package com.intellij.util
Class SpinAllocator<T>
- java.lang.Object
-
- com.intellij.util.SpinAllocator<T>
-
public class SpinAllocator<T> extends Object
Deprecated.deprecated as of TW-72860 SpinAllocator can be used for allocating short-live automatic objects of type T. Avoiding reenterable allocations, MAX_SIMULTANEOUS_ALLOCATIONS are concurrently possible.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpinAllocator.AllocatorDisposeExceptionDeprecated.static classSpinAllocator.AllocatorExhaustedExceptionDeprecated.static interfaceSpinAllocator.ICreator<T>Deprecated.static interfaceSpinAllocator.IDisposer<T>Deprecated.
-
Field Summary
Fields Modifier and Type Field Description static intMAX_SIMULTANEOUS_ALLOCATIONSDeprecated.protected SpinAllocator.ICreator<T>myCreatorDeprecated.protected SpinAllocator.IDisposer<T>myDisposerDeprecated.
-
Constructor Summary
Constructors Constructor Description SpinAllocator(SpinAllocator.ICreator<T> creator, SpinAllocator.IDisposer<T> disposer)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Talloc()Deprecated.voiddispose(T instance)Deprecated.
-
-
-
Field Detail
-
MAX_SIMULTANEOUS_ALLOCATIONS
public static final int MAX_SIMULTANEOUS_ALLOCATIONS
Deprecated.- See Also:
- Constant Field Values
-
myCreator
protected final SpinAllocator.ICreator<T> myCreator
Deprecated.
-
myDisposer
protected final SpinAllocator.IDisposer<T> myDisposer
Deprecated.
-
-
Constructor Detail
-
SpinAllocator
public SpinAllocator(SpinAllocator.ICreator<T> creator, SpinAllocator.IDisposer<T> disposer)
Deprecated.
-
-