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();
|
return allocationsSmall.longValue() + allocsNormal + allocationsHuge.longValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public long numTinyAllocations() {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long numSmallAllocations() {
|
public long numSmallAllocations() {
|
||||||
return allocationsSmall.longValue();
|
return allocationsSmall.longValue();
|
||||||
@ -335,11 +330,6 @@ class PoolArena extends SizeClasses implements PoolArenaMetric, AllocatorControl
|
|||||||
return deallocs + deallocationsHuge.longValue();
|
return deallocs + deallocationsHuge.longValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public long numTinyDeallocations() {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized long numSmallDeallocations() {
|
public synchronized long numSmallDeallocations() {
|
||||||
return deallocationsSmall;
|
return deallocationsSmall;
|
||||||
|
@ -52,14 +52,6 @@ public interface PoolArenaMetric extends SizeClassesMetric {
|
|||||||
*/
|
*/
|
||||||
long numAllocations();
|
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.
|
* Return the number of small allocations done via the arena.
|
||||||
*/
|
*/
|
||||||
@ -80,14 +72,6 @@ public interface PoolArenaMetric extends SizeClassesMetric {
|
|||||||
*/
|
*/
|
||||||
long numDeallocations();
|
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.
|
* Return the number of small deallocations done via the arena.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user