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 above
statement 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.
Roedy Green - 27 Sep 2007 03:47 GMT
>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.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com