jdk/src/share/classes/sun/management/MemoryPoolImpl.java
public long getCollectionUsageThresholdCount() {
if (!isCollectionUsageThresholdSupported()) {
throw new UnsupportedOperationException(
"CollectionUsage threshold is not supported");
}
return gcSensor.getCount();
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.