Java VisualVM hangs connecting to locally process launched from eclipse

前端 未结 7 1382
耶瑟儿~
耶瑟儿~ 2020-12-08 18:59

I\'m trying to connect jvisualvm installed with jdk1.7.0_04 to a locally running java process. When I do this, jvisualvm shows a progress bar in the bottom left saying its

7条回答
  •  没有蜡笔的小新
    2020-12-08 19:39

    add the follwing argument in eclipse runConfigurations augments tab

    -XX:+StartAttachListener

    this will allow visualVM to connect instantly and sample and profiling will work.

提交回复
热议问题