src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Oop.java
author phh
Sat, 30 Nov 2019 14:33:05 -0800
changeset 59330 5b96c12f909d
parent 50525 767cdb97f103
permissions -rw-r--r--
8234541: C1 emits an empty message when it inlines successfully Summary: Use "inline" as the message when successfull Reviewed-by: thartmann, mdoerr Contributed-by: navy.xliu@gmail.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
/*
48113
af9e4669ca18 8185796: jstack and clhsdb jstack should show lock objects
ysuenaga
parents: 47216
diff changeset
     2
 * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 *
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 670
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 670
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 670
diff changeset
    21
 * questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
 */
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
package sun.jvm.hotspot.oops;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
import java.io.*;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
import java.util.*;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
import sun.jvm.hotspot.utilities.*;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
import sun.jvm.hotspot.debugger.*;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
import sun.jvm.hotspot.runtime.*;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
import sun.jvm.hotspot.types.*;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
// Oop represents the superclass for all types of
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
// objects in the HotSpot object heap.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
public class Oop {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
  static {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
    VM.registerVMInitializedObserver(new Observer() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
        public void update(Observable o, Object data) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
          initialize(VM.getVM().getTypeDataBase());
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
        }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
      });
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
  private static synchronized void initialize(TypeDataBase db) throws WrongTypeException {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
    Type type  = db.lookupType("oopDesc");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
    mark       = new CIntField(type.getCIntegerField("_mark"), 0);
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8878
diff changeset
    49
    klass      = new MetadataField(type.getAddressField("_metadata._klass"), 0);
13969
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
    50
    compressedKlass  = new NarrowKlassField(type.getAddressField("_metadata._compressed_klass"), 0);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
    headerSize = type.getSize();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
  private OopHandle  handle;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
  private ObjectHeap heap;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
  Oop(OopHandle handle, ObjectHeap heap) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
    this.handle = handle;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
    this.heap   = heap;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
  ObjectHeap getHeap()   { return heap; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
  /** Should not be used or needed by most clients outside this
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
      package; is needed, however, by {@link
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
      sun.jvm.hotspot.utilities.MarkBits}. */
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
  public OopHandle getHandle() { return handle; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
  private static long headerSize;
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
    70
  public  static long getHeaderSize() { return headerSize; } // Header size in bytes.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
  private static CIntField mark;
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8878
diff changeset
    73
  private static MetadataField  klass;
13969
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
    74
  private static NarrowKlassField compressedKlass;
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
  // Accessors for declared fields
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
  public Mark  getMark()   { return new Mark(getHandle()); }
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
    78
  public Klass getKlass() {
13969
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
    79
    if (VM.getVM().isCompressedKlassPointersEnabled()) {
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
    80
      return (Klass)compressedKlass.getValue(getHandle());
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
    81
    } else {
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8878
diff changeset
    82
      return (Klass)klass.getValue(getHandle());
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
    83
    }
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
    84
  }
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
  public boolean isA(Klass k) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
    return getKlass().isSubtypeOf(k);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
  // Returns the byte size of this object
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
  public long getObjectSize() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
    Klass k = getKlass();
8878
a6283814032c 7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
never
parents: 7662
diff changeset
    93
    // All other types should be overriding getObjectSize directly
a6283814032c 7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
never
parents: 7662
diff changeset
    94
    return ((InstanceKlass)k).getObjectSize(this);
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
  // Type test operations
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
  public boolean isInstance()          { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
  public boolean isInstanceRef()       { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
  public boolean isArray()             { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
  public boolean isObjArray()          { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
  public boolean isTypeArray()         { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
  public boolean isThread()            { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
  // Align the object size.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
  public static long alignObjectSize(long size) {
5694
1e0532a6abff 6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
kvn
parents: 670
diff changeset
   107
    return VM.getVM().alignUp(size, VM.getVM().getMinObjAlignmentInBytes());
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
  // All vm's align longs, so pad out certain offsets.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
  public static long alignObjectOffset(long offset) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
    return VM.getVM().alignUp(offset, VM.getVM().getBytesPerLong());
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
  public boolean equals(Object obj) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
    if (obj != null && (obj instanceof Oop)) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
      return getHandle().equals(((Oop) obj).getHandle());
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
    return false;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
 }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
  public int hashCode() { return getHandle().hashCode(); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
  /** Identity hash in the target VM */
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
  public long identityHash() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
    Mark mark = getMark();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
    if (mark.isUnlocked() && (!mark.hasNoHash())) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
      return (int) mark.hash();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
    } else if (mark.isMarked()) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
      return (int) mark.hash();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
    } else {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
      return slowIdentityHash();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
  public long slowIdentityHash() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
    return VM.getVM().getObjectSynchronizer().identityHashValueFor(this);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
  public void iterate(OopVisitor visitor, boolean doVMFields) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
    visitor.setObj(this);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
    visitor.prologue();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
    iterateFields(visitor, doVMFields);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
    visitor.epilogue();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
  void iterateFields(OopVisitor visitor, boolean doVMFields) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
    if (doVMFields) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
      visitor.doCInt(mark, true);
13969
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
   150
      if (VM.getVM().isCompressedKlassPointersEnabled()) {
16365
011271eb4373 8008796: SA: Oop.iterateFields() should support CompressedKlassPointers again
kmo
parents: 13969
diff changeset
   151
        visitor.doMetadata(compressedKlass, true);
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
   152
      } else {
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8878
diff changeset
   153
        visitor.doMetadata(klass, true);
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
   154
      }
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
  public void print()      { printOn(System.out); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
  public void printValue() { printValueOn(System.out); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
  public void printRaw()   { printRawOn(System.out); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
  public static void printOopValueOn(Oop obj, PrintStream tty) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
    if (obj == null) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
      tty.print("null");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
    } else {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
      obj.printValueOn(tty);
50525
767cdb97f103 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents: 48113
diff changeset
   167
      tty.print(" @ " + VM.getVM().getUniverse().heap().oopAddressDescription(obj.getHandle()));
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
  public static void printOopAddressOn(Oop obj, PrintStream tty) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
    if (obj == null) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
      tty.print("null");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
    } else {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
      tty.print(obj.getHandle().toString());
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
  public void printOn(PrintStream tty) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
    OopPrinter printer = new OopPrinter(tty);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
    iterate(printer, true);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
  public void printValueOn(PrintStream tty) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
    try {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
      tty.print("Oop for " + getKlass().getName().asString());
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
    } catch (java.lang.NullPointerException e) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
      tty.print("Oop");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
  public void printRawOn(PrintStream tty) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
    tty.print("Dumping raw memory for ");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
    printValueOn(tty);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
    tty.println();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
    long size = getObjectSize() * 4;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
    for (long i = 0; i < size; i += 4) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
      long memVal = getHandle().getCIntegerAt(i, 4, true);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
      tty.println(Long.toHexString(memVal));
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
    }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
  public boolean verify() { return true;}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
48113
af9e4669ca18 8185796: jstack and clhsdb jstack should show lock objects
ysuenaga
parents: 47216
diff changeset
   205
  public static Klass getKlassForOopHandle(OopHandle handle) {
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
    if (handle == null) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
      return null;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
    }
13969
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
   209
    if (VM.getVM().isCompressedKlassPointersEnabled()) {
d2a189b83b87 7054512: Compress class pointers after perm gen removal
roland
parents: 13728
diff changeset
   210
      return (Klass)Metadata.instantiateWrapperFor(handle.getCompKlassAddressAt(compressedKlass.getOffset()));
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
   211
    } else {
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 8878
diff changeset
   212
      return (Klass)Metadata.instantiateWrapperFor(handle.getAddressAt(klass.getOffset()));
360
21d113ecbf6a 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents: 1
diff changeset
   213
    }
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
};