Java threads: Is it possible view/pause/kill a particular thread from a different java program running on the same JVM?

前端 未结 4 844
日久生厌
日久生厌 2020-12-10 07:15

I have a program \'foo\' running different threads, fooT1, fooT2, .. fooTn.

Now if I want write another program \'bar\', which could kill the thread fooTr, is that p

4条回答
  •  佛祖请我去吃肉
    2020-12-10 07:36

    Until now isn´t possible to run to diferent programs in the same JVM, but some people is investigating it, in order to reduce the startup time and the memory and cpu usage of diferent java programs runing in the same machine

提交回复
热议问题