-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
What happened?
Running with gradle-jfr on one of my repos, I found that my compileJava task was throwing tens of thousands of exceptions:
Looking at the causes, I think it's mostly related to gradle-baseline's SafetyPropagationTransfer class
Specifically the getPath call on this line:
Line 1025 in 5f0dd88
| TreePath fieldDeclPath = Trees.instance(javacEnv).getPath(accessed); |
It seems like that call ends up throwing lots of Exceptions farther down in the com.sun.source code, and heavy use of Exceptions can cause slowness: https://shipilev.net/blog/2014/exceptional-performance/
What did you want to happen?
SafetyPropagationTransfer to run in a way where there aren't a lot of Java exceptions generated, so JFR doesn't show the "Thrown Errors" automated analysis result and ultimately gradle-baseline runs faster.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels



