bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/Generator.java
private void generateTagHandlerDestroy() {

        if (!isPoolingEnabled || tagHandlerPoolNames.isEmpty()) {
            return;
        }

        out.printil("public void _jspDestroy() {");
        out.pushIndent();
        for (String tagHandlerPoolName: tagHandlerPoolNames) {
            out.printin(tagHandlerPoolName);
            out.println(".release();");
        }
        out.popIndent();
        out.printil("}");
        out.println();
    }
private void generateTagHandlerDestroy() {

        if (!isPoolingEnabled || tagHandlerPoolNames.isEmpty()) {
            return;
        }

        out.printil("public void _jspDestroy() {");
        out.pushIndent();
        for (String tagHandlerPoolName: tagHandlerPoolNames) {
            out.printin(tagHandlerPoolName);
            out.println(".release();");
        }
        out.popIndent();
        out.printil("}");
        out.println();
    }
Generates the _jspDestroy() method which is responsible for calling the
release() method on every tag handler in any of the tag handler pools.