Hi All,In the JVMTI reference, it says to use JVMTI, add:#include <jvmti.h> to the source code of the agent you are writing.But, in the heapTracker.c example in j2sdk folder, why the abovestatement does not exist?Instead it has the following statements:#include "stdlib.h"#include "heapTracker.h"#include "java_crw_demo.h"Could anyone explain this?Thanks in advance.
|
|
0
|
|
|
|
Reply
|
xuwenduan (2)
|
9/27/2007 1:51:59 AM |
|
On Wed, 26 Sep 2007 18:51:59 -0700, xuwenduan@gmail.com wrote, quotedor indirectly quoted someone who said :>Instead it has the following statements:>>#include "stdlib.h">>#include "heapTracker.h">#include "java_crw_demo.h"have a look inside those two .h files. Perhaps they nest include.-- Roedy Green Canadian Mind ProductsThe Java Glossaryhttp://mindprod.com
|
|
0
|
|
|
|
Reply
|
Roedy
|
9/27/2007 2:47:41 AM
|
|