Top


定義場所(file name)

jdk/src/share/classes/sun/management/MemoryPoolImpl.java

名前(function name)

    public boolean isUsageThresholdExceeded() {

本体部(body)

            if (!isUsageThresholdSupported()) {
                throw new UnsupportedOperationException(
                    "Usage threshold is not supported");
            }

            // return false if usage threshold crossing checking is disabled
            if (usageThreshold == 0) {
                return false;
            }

            MemoryUsage u = getUsage0();
            return (u.getUsed() >= usageThreshold ||
                    usageSensor.isOn());
        }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.