Bytecode Instrumentation
| 2004 JavaOne
SM
Conference | Session 3042 Copyright Hewlett Packard Co., 2004.
38
Selecting Methods: Performance
•
Usually better to increase instrumentation-time
overhead and decrease steady-state overhead
• Many filtering opportunities
─ Accessor methods
─ Other small methods
─ 3rd party code
─ Well-understood, application-specific code
• Make most expensive instrumentation
conditional, collect samples
• Optimize injected code aggressively