OpenJDK breaks on processWorkerExit with no breakpoint

被刻印的时光 ゝ 提交于 2019-12-03 18:47:41

问题


I'm running tomcat 7.0.21 on OpenJDK

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

in debug mode via Eclipse.

Periodically after serving an arbitrary number of requests, OpenJDK starts to break at:

At this point there is very little stack left, usually:

and very little to go on as far as what might have cause the issue...

Anyone have any insight on what might be happening?


回答1:


In debug mode in eclipse by default, break on uncaught exceptions is checked. Since you don't have a catch method here, it's likely that an uncaught exception is being thrown and the debugger is breaking for you immediately before the exception is thrown. You can turn it off in preferences under Java->Debug.




回答2:


Spot on, still relevant in 2015 with latest Eclipse too. Make sure to keep the check-box under green highlight circle to be unchecked. I am adding image to highlight the change



来源:https://stackoverflow.com/questions/7451862/openjdk-breaks-on-processworkerexit-with-no-breakpoint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!