Bytecode Instrumentation
| 2004 JavaOne
SM
Conference | Session 3042 Copyright Hewlett Packard Co., 2004.
42
Efficient Collection
•
Minimize method calls
─ Finding class and method names
─ Thread information
─ Native calls
─ Cross language calls
• Keep critical sections short
• Use thread local storage to avoid contention
─ Global data structures need locks