---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 12 Edition"
java_version: 12
chapter: "Chapter 2. The Structure of the Java Virtual Machine"
section: "2.7"
heading: "2.7. Representation of Objects"
parent: "Chapter 2. The Structure of the Java Virtual Machine"
source: https://docs.oracle.com/javase/specs/jvms/se12/html/jvms-2.html#jvms-2.7
id: "2.7"
url: https://jvm.obfuscated.software/jvms/se12/2.7.html
raw: https://jvm.obfuscated.software/jvms/se12/2.7.md
---

# 2.7. Representation of Objects

The Java Virtual Machine does not mandate any particular internal structure for objects.

In some of Oracle’s implementations of the Java Virtual Machine, a reference to a class instance is a pointer to a *handle* that is itself a pair of pointers: one to a table containing the methods of the object and a pointer to the `Class` object that represents the type of the object, and the other to the memory allocated from the heap for the object data.
