Remove some deprecated methods
This commit is contained in:
parent
7e379fd6ad
commit
e6f867cc5f
@ -311,11 +311,6 @@ class PoolArena extends SizeClasses implements PoolArenaMetric, AllocatorControl
|
||||
return allocationsSmall.longValue() + allocsNormal + allocationsHuge.longValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long numTinyAllocations() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long numSmallAllocations() {
|
||||
return allocationsSmall.longValue();
|
||||
@ -335,11 +330,6 @@ class PoolArena extends SizeClasses implements PoolArenaMetric, AllocatorControl
|
||||
return deallocs + deallocationsHuge.longValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long numTinyDeallocations() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized long numSmallDeallocations() {
|
||||
return deallocationsSmall;
|
||||
|
@ -52,14 +52,6 @@ public interface PoolArenaMetric extends SizeClassesMetric {
|
||||
*/
|
||||
long numAllocations();
|
||||
|
||||
/**
|
||||
* Return the number of tiny allocations done via the arena.
|
||||
*
|
||||
* @deprecated Tiny allocations have been merged into small allocations.
|
||||
*/
|
||||
@Deprecated
|
||||
long numTinyAllocations();
|
||||
|
||||
/**
|
||||
* Return the number of small allocations done via the arena.
|
||||
*/
|
||||
@ -80,14 +72,6 @@ public interface PoolArenaMetric extends SizeClassesMetric {
|
||||
*/
|
||||
long numDeallocations();
|
||||
|
||||
/**
|
||||
* Return the number of tiny deallocations done via the arena.
|
||||
*
|
||||
* @deprecated Tiny deallocations have been merged into small deallocations.
|
||||
*/
|
||||
@Deprecated
|
||||
long numTinyDeallocations();
|
||||
|
||||
/**
|
||||
* Return the number of small deallocations done via the arena.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user