Remove some deprecated methods

This commit is contained in:
Chris Vest 2021-05-21 15:03:48 +02:00
parent 7e379fd6ad
commit e6f867cc5f
2 changed files with 0 additions and 26 deletions

View File

@ -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;

View File

@ -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.
*/