changeset 6465:04f08ab5bacf

extended documentation for the concept of an object hub by showing that it is the same as a klassOop in HotSpot
author Doug Simon <doug.simon@oracle.com>
date Mon, 01 Oct 2012 16:00:49 +0200
parents 41f0849e107b
children 3d6a1007190d
files graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/JavaType.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/JavaType.java	Sun Sep 30 21:44:03 2012 +0200
+++ b/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/JavaType.java	Mon Oct 01 16:00:49 2012 +0200
@@ -51,7 +51,8 @@
 
         /**
          * The runtime representation of the "hub" of this type--that is, the closest part of the type
-         * representation which is typically stored in the object header.
+         * representation which is typically stored in the object header. For example, in the HotSpot
+         * VM the hub correlates with the C++ <code>klassOop</code> type.
          */
         ObjectHub
     }