Jelly 解析中的关键点?
Last week, one of our Jenkins controllers stopped responding, probably because it ran out of JVM memory, as no web requests to the controller were being answered, and in the hour before the non-responsiveness, our probe recorded the percentage of free JVM memory rapidly approaching zero. Anyway, while it was stuck, I was able to request a JVM heap memory dump via `jmap`, which then allowed me to take a look at threads and their stack traces. That's when I noticed 127 threads handling the same `GET` request: 125 of those were BLOCKED (waiting to enter the mutex at `ExpressionFactory.java:119`) and 2 were RUNNABLE, with one of them holding the mutex for `parser`, and the other elsewhere in its rendering. In all, there were 185 instances of `ExpressionFactory.java:119` in the thread dump!
内容来源: jenkinsci/jenkins