-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b162
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8177599 | 10 | Jonathan Gibbons | P2 | Resolved | Fixed | b04 |
JDK-8307089 | 8u391 | Anawesha Khuntia | P2 | Closed | Fixed | b01 |
TreePosTest creates lots of JavacTask, as part of its testing, and by default, each task allows for the use of annotation processors. This causes each task to create a classloader, to check it for annotation processors, but because of the nature of TreePosTest, it doesn't do a full compilation, and so doesn't close resources in the normal manner.
The net effect is to create substantial garbage containing open classloaders, which cases performance problems, such as seen inJDK-8175116.
The solution is to disable the checking of anno processors for TreePosTest. This reduces the number of classloaders created in TreePosTest from 6463 to just 1
The net effect is to create substantial garbage containing open classloaders, which cases performance problems, such as seen in
The solution is to disable the checking of anno processors for TreePosTest. This reduces the number of classloaders created in TreePosTest from 6463 to just 1
- backported by
-
JDK-8177599 TreePosTest should disable annotation processing
- Resolved
-
JDK-8307089 TreePosTest should disable annotation processing
- Closed
- relates to
-
JDK-8177014 tools/javac/tree/TreePosTest.java test fails with IllegalArgumentException
- Closed
-
JDK-8175116 jtreg agentvms uses more virtual address space in langtool/test :tier1 runs
- Closed