The memory usage of the JVM's most recent attempt to recycle unused
objects in this pool. If this feature is not supported, then
null will be returned.
A MemoryUsage instance representing the most recentattempt to recycle unused objects; null may bereturned to indicated this method is not supported.
Sets the collection usage threshold (in bytes) for this memory pool.
Parameters: threshold - The new, non-negative threshold. throws: IllegalArgumentException - if the new threshold is either negativeor greater than the maximum memory allowed. throws: UnsupportedOperationException - if this is not supported. throws: SecurityException - if caller doesn't haveManagementPermission("control").
Sets the usage threshold (in bytes) for this memory pool.
Parameters: threshold - The new, non-negative threshold. throws: IllegalArgumentException - if the new threshold is either negativeor greater than the maximum memory allowed. throws: UnsupportedOperationException - if this is not supported. throws: SecurityException - if caller doesn't haveManagementPermission("control").