Bytecode Instrumentation
| 2004 JavaOne
SM
Conference | Session 3042 Copyright Hewlett Packard Co., 2004.
36
Selecting Methods: Constraints
•
Depends on nature of BCI library
─ May be circular dependencies with Java library
• Load-time instrumentation problem
─ JVMPI
─ Java-based BCI cannot instrument classes it uses
• Non-issue with static instrumentation
• Dynamic instrumentation adds significant
flexibility
─ Classes can be redefined after they are first used