Skip to content

Wiki: Create Spoke Page for Core - Virtual-Methods #23

Description

@LSantha

Goal

Document the implementation of virtual method dispatch (vtable) and interface method dispatch (IMT) in JNode.

Instructions

  1. Use the Skill: Apply the update-wiki skill found in the .opencode/skills/update-wiki/ directory to complete this task.
  2. Research: Analyze core/src/core/org/jnode/vm/classmgr/VmType.java (search for prepareIMT and vtable initialization), IMTBuilder.java, and TIBLayout.java.
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions