提交 35990e1d 编写于 作者: J jjg

8002146: javadoc doesn't release resources in a timely manner

Reviewed-by: darcy
上级 05ae40fa
......@@ -81,6 +81,9 @@ public class JavadocMemberEnter extends MemberEnter {
docenv.makeAnnotationTypeElementDoc(meth, docComment, tree, lineMap);
else
docenv.makeMethodDoc(meth, docComment, tree, lineMap);
// release resources
tree.body = null;
}
@Override
......
......@@ -394,6 +394,9 @@ class Start {
// legacy?
languageVersion == null || languageVersion == LanguageVersion.JAVA_1_1, quiet);
// release resources
comp = null;
// pass off control to the doclet
boolean ok = root != null;
if (ok) ok = docletInvoker.start(root);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册