Bytecode Instrumentation
| 2004 JavaOne
SM
Conference | Session 3042 Copyright Hewlett Packard Co., 2004.
41
Approaches for Data Collection
•
C heap data structures
─ Requires call to native code from Java
• Java heap
─ Measurement data structures interfere with program
• Files
─ I/O can be slow, even with buffering
• Pipes
• Sockets/Network
• RMI, RMI/SSL
• JMX