Skip to content

Document Field Offset Calculation - Value 4 #119

@LSantha

Description

@LSantha

Concept: Field Offset Calculation

Value: 4 (Important - Object layout)

What it is: Runtime field offset calculation for TIB and objects

Key files:

  • core/src/core/org/jnode/vm/classmgr/FieldLayout.java
  • core/src/core/org/jnode/vm/classmgr/TIBLayout.java

Bridges: Object layout, JIT compiler, Field access


Documentation Requirements

For Value 4 (Important):

  1. Update ALL 4 sections of the index (index.md):

    • Pages Table: Add new page in alphabetical order
    • Concepts → Pages: Add the page name
    • Source Path → Pages: Map core/src/core/org/jnode/vm/classmgr/ to the new page
    • Task Routing: Add to relevant developer task categories with meaningful routing ideas (1-3 entries)
  2. Update Glossary: Add 1-sentence definition for any new project-specific term

  3. Broader Search: Search for related "Helper", "Manager", "Layout", or "Constants" classes (e.g., alignment constants, header size)

Skill Reference

Use update-wiki skill for wiki maintenance workflow


Related Concepts (from index.md)

  • [[Object-Layout]]
  • [[Type-System-Internals]]

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