Bytecode Instrumentation
| 2004 JavaOne
SM
Conference | Session 3042 Copyright Hewlett Packard Co., 2004.
14
What’s Hard?
•
Creating an intermediate form
─ Deserialization
─ All objects as intermediate representation
─ Less costly alternatives – bookeeping overhead
─ Size of intermediate representation
• Apply multiple transformations
─ May require update to abstract representation with
each change
─ Look for rewind() methods
• Keeping the class file verifiable
─ Consistency
─ Size