Goal
Document the implementation of virtual method dispatch (vtable) and interface method dispatch (IMT) in JNode.
Instructions
- Use the Skill: Apply the
update-wiki skill found in the .opencode/skills/update-wiki/ directory to complete this task.
- Research: Analyze
core/src/core/org/jnode/vm/classmgr/VmType.java (search for prepareIMT and vtable initialization), IMTBuilder.java, and TIBLayout.java.
- Content Requirements:
- Explain how JNode structures its vtable within the TIB.
- Explain the Interface Method Table (IMT) and how it handles collisions.
- Describe the role of the
CompiledIMT and how it speeds up interface calls.
- Include a diagram showing the relationship between an Object -> TIB -> vtable/IMT.
Refer to WIKI_SCHEMA.md and AGENTS.md for overarching project rules.
Goal
Document the implementation of virtual method dispatch (vtable) and interface method dispatch (IMT) in JNode.
Instructions
update-wikiskill found in the.opencode/skills/update-wiki/directory to complete this task.core/src/core/org/jnode/vm/classmgr/VmType.java(search forprepareIMTand vtable initialization),IMTBuilder.java, andTIBLayout.java.CompiledIMTand how it speeds up interface calls.Refer to
WIKI_SCHEMA.mdandAGENTS.mdfor overarching project rules.