comparison agent/src/share/classes/sun/jvm/hotspot/oops/MetadataField.java @ 6848:8e47bac5643a

7054512: Compress class pointers after perm gen removal Summary: support of compress class pointers in the compilers. Reviewed-by: kvn, twisti
author roland
date Tue, 09 Oct 2012 10:11:38 +0200
parents da91efe96a93
children
comparison
equal deleted inserted replaced
6847:65d07d9ee446 6848:8e47bac5643a
25 package sun.jvm.hotspot.oops; 25 package sun.jvm.hotspot.oops;
26 26
27 import sun.jvm.hotspot.runtime.VMObject; 27 import sun.jvm.hotspot.runtime.VMObject;
28 import sun.jvm.hotspot.debugger.*; 28 import sun.jvm.hotspot.debugger.*;
29 29
30 // The class for an C int field simply provides access to the value.
31 public class MetadataField extends Field { 30 public class MetadataField extends Field {
32 31
33 public MetadataField(sun.jvm.hotspot.types.AddressField vmField, long startOffset) { 32 public MetadataField(sun.jvm.hotspot.types.AddressField vmField, long startOffset) {
34 super(new NamedFieldIdentifier(vmField.getName()), vmField.getOffset() + startOffset, true); 33 super(new NamedFieldIdentifier(vmField.getName()), vmField.getOffset() + startOffset, true);
35 } 34 }