Skip to content

Wiki: Create Spoke Page for Core - Object-Layout #22

@LSantha

Description

@LSantha

Goal

Document the internal representation of Java objects in memory (Object Layout) within JNode.

Agent Execution Checklist

  • 1. Research: Analyze core/src/core/org/jnode/vm/classmgr/ObjectLayout.java. Understand the role of the TIB (Type Information Block) slot, Flags slot, and object alignment. Check how headers are structured in both 32-bit and 64-bit modes.
  • 2. Create Spoke Page: Create .wiki/Object-Layout.md following the Hub/Spoke model in WIKI_SCHEMA.md (200-500 lines).
    • Include a diagram (Mermaid or ASCII) showing the memory layout of an object.
    • Explain the TIB, Flags, and where instance fields begin.
  • 3. Link from Hub: Add a link to [[Object-Layout]] in the relevant section of .wiki/Architecture.md.
  • 4. Update Index: Add a new row to all four tables in .wiki/index.md and maintain alphabetical order.
  • 5. COMMIT & PUSH (CRITICAL): You MUST manually run git push inside the .wiki directory.

    WARNING: The OpenCode Action infrastructure WILL NOT auto-push changes in the .wiki folder. If you do not run git push explicitly, your work will be permanently lost when the runner shuts down.

  • 6. VERIFY: Run git ls-remote origin master after pushing to verify the commit reached the remote repository.
  • 7. REPORT: Comment on this issue with the direct URL to the new wiki page (e.g., https://github.com/LSantha/jnode_ai/wiki/Object-Layout) to allow immediate verification.

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