thanks for your info. It looks like JVMTI is available in 1.5. I did check JVMPI and JVMDI in older version, but had a few concerns due to the requirement.
Basically, what I want to do is to write a small piece of program to dump heap watch, thread and monitor information when certain criterial, such as outofmemory error or dramatic performance downgrade or any other application specific condition, is meet. However, a few restrictions have to be applied.
The jvm has to be 1.3 or 1.4.
It's best the small program is platform independent, writing a agent libary isn't a easy task and tend to be error prone.
It shouldn't slow down application noticably and use too much memory.
After all, profiling a 6000-thousand-java-file application isn't an easy task, some fatal issues can only be captured on production.
Any suggestions? Thanks.
Basically, what I want to do is to write a small piece of program to dump heap watch, thread and monitor information when certain criterial, such as outofmemory error or dramatic performance downgrade or any other application specific condition, is meet. However, a few restrictions have to be applied.
The jvm has to be 1.3 or 1.4.
It's best the small program is platform independent, writing a agent libary isn't a easy task and tend to be error prone.
It shouldn't slow down application noticably and use too much memory.
After all, profiling a 6000-thousand-java-file application isn't an easy task, some fatal issues can only be captured on production.
Any suggestions? Thanks.