Will Java app slow down by presence of -Xdebug or only when stepping through code?

前端 未结 3 489
再見小時候
再見小時候 2020-12-13 14:21

I realize that Java code will slow down when run in debugger.

Question is, will the code slow down simply by starting Java with these options:

Xdebug         


        
3条回答
  •  臣服心动
    2020-12-13 14:52

    No, simply enabling the debugging port will have no effect on runtime performance. At least I've never noticed any.

    ..

提交回复
热议问题