Re: SA frontends

2012-02-24 Thread Tomas Hurka
Hi Poonam, On 23 Feb 2012, at 07:18, Poonam Bajaj wrote: > > SA-Plugin for VisualVM uses HotspotAgent - SA interface provided by class > sun.jvm.hotspot.HotSpotAgent. SA-Plugin uses the attach/detach functionality > provided by this class and it uses other SA classes (e.g. > sun.jvm.hotspot.ru

Re: SA frontends

2012-02-23 Thread Krystal Mok
Hi Staffan, > So maybe CLHSDB can be improved and JSDB retired? Maybe, if the input experience of CLHSDB can be improved. It's awful to prototype new commands with JavaScript in CLHSDB, because the whole snippet of script is only allowed to span one single line, using "jseval". If it can at least

Re: SA frontends

2012-02-23 Thread A. Sundararajan
I think current SA/hotspot developers are the best judges. I used to be part of serviceability team and worked on SA among other things in the past. AFAIK, SA suspend/resume was never really implemented or worked properly. If that is still thought to be useful, we may to see if we can improve

Re: SA frontends

2012-02-23 Thread Staffan Larsen
Thanks for the pointer to SA Plugin - didn't know about that. Any idea how widely used it is? Thanks for the rest of the feedback as well, /Staffan On 22 feb 2012, at 10:34, Krystal Mok wrote: > Hi Staffan, > > There's at least another frontend, the SA Plugin for Visual VM. I think it > only

Re: SA frontends

2012-02-23 Thread Staffan Larsen
On 22 feb 2012, at 11:22, A. Sundararajan wrote: > SA uses stop-the-world to debug "snapshot" of the process. BugSpot was > supposed to be a SA model where you can pause/resume and keep looking at > different snapshots (as well as use JDI to look at process state). But, it > was never implement

Re: SA frontends

2012-02-22 Thread Poonam Bajaj
Hi Kris, SA-Plugin for VisualVM uses HotspotAgent - SA interface provided by class sun.jvm.hotspot.HotSpotAgent. SA-Plugin uses the attach/detach functionality provided by this class and it uses other SA classes (e.g. sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.ui.*) to extract and display dat

Re: SA frontends

2012-02-22 Thread A. Sundararajan
Hi, SA uses stop-the-world to debug "snapshot" of the process. BugSpot was supposed to be a SA model where you can pause/resume and keep looking at different snapshots (as well as use JDI to look at process state). But, it was never implemented that way. Over the years lot of stuff accumulate

Re: SA frontends

2012-02-22 Thread Staffan Larsen
On 22 feb 2012, at 10:09, Mikael Gerdin wrote: > On 2012-02-22 09:26, Staffan Larsen wrote: >> I'm trying to figure out what the different front ends to SA are and how >> they differ. So far I have identified the following: >> >> HSDB - basic UI >> CLHSDB - command line version of HSDB >> BugSpot

Re: SA frontends

2012-02-22 Thread Krystal Mok
Hi Staffan, There's at least another frontend, the SA Plugin for Visual VM. I think it only uses the BugSpotAgent for attaching/detaching, otherwise it doesn't use stuff from BugSpot. Other tools, e.g. jstack -m, jstack -F, jmap -F, etc., are not exactly SA frontends, but use the SA to implement t

Re: SA frontends

2012-02-22 Thread Mikael Gerdin
Hi Staffan On 2012-02-22 09:26, Staffan Larsen wrote: I'm trying to figure out what the different front ends to SA are and how they differ. So far I have identified the following: HSDB - basic UI CLHSDB - command line version of HSDB BugSpot - improvement over HSDB ?? JSDB - JavaScript command