VisualVM launcher error

前端 未结 4 2810
甜味超标
甜味超标 2021-02-20 00:59

I\'m trying to use the Eclipse VisualVM launcher. It seems pretty nice, except that it seems to spawn an instance if VisualVM too late to do any profiling of my application. My

4条回答
  •  星月不相逢
    2021-02-20 01:14

    This is a dumb solution, but works. Here it goes:

    Add an infinite loop wrapper to your application, say "while(true) { your_app }".

    The timing noises will also even out as your program runs longer.

提交回复
热议问题