Java Code Examples for sun.java2d.cmm.ProfileDeferralMgr#unregisterDeferral()

The following examples show how to use sun.java2d.cmm.ProfileDeferralMgr#unregisterDeferral() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ICC_Profile.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 2
Source File: ICC_Profile.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 3
Source File: ICC_Profile.java    From jdk-1.7-annotated with Apache License 2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (ID != 0) {
        CMSManager.getModule().freeProfile(ID);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 4
Source File: ICC_Profile.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 5
Source File: ICC_Profile.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 6
Source File: ICC_Profile.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 7
Source File: ICC_Profile.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 8
Source File: ICC_Profile.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 9
Source File: ICC_Profile.java    From Java8CN with Apache License 2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 10
Source File: ICC_Profile.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 11
Source File: ICC_Profile.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 12
Source File: ICC_Profile.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 13
Source File: ICC_Profile.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 14
Source File: ICC_Profile.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 15
Source File: ICC_Profile.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 16
Source File: ICC_Profile.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 */
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}
 
Example 17
Source File: ICC_Profile.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Frees the resources associated with an ICC_Profile object.
 *
 * @deprecated The {@code finalize} method has been deprecated.
 *     Subclasses that override {@code finalize} in order to perform cleanup
 *     should be modified to use alternative cleanup mechanisms and
 *     to remove the overriding {@code finalize} method.
 *     When overriding the {@code finalize} method, its implementation must explicitly
 *     ensure that {@code super.finalize()} is invoked as described in {@link Object#finalize}.
 *     See the specification for {@link Object#finalize()} for further
 *     information about migration options.
 */
@Deprecated(since="9")
protected void finalize () {
    if (cmmProfile != null) {
        CMSManager.getModule().freeProfile(cmmProfile);
    } else if (profileActivator != null) {
        ProfileDeferralMgr.unregisterDeferral(profileActivator);
    }
}