Hi Chengrong,

You can try to print out your information just after all non-daemon
threads are stopped. To do that you need to insert print function in
vmcore/src/init/vm_shutdown.cpp line 227. You also may want to print
out your data in situation when System.exit() provokes VM shutdown. To
print info in such cases you need to patch
vmcore/src.kernel_classes/native/java_lang_VMExecutionEngine.cpp line
53. Hope that will work for you.

Thanks
Evgueni

On 1/16/08, 史成荣 <[EMAIL PROTECTED]> wrote:
> I want to collect some information when the bytecode is compiling by the
> JIT, and want to print the information before the VM exits. Where can I
> insert the print function?
>
> Thanks,
> Chengrong
>

Reply via email to