hotspot/src/share/vm/ci/ciKlass.cpp
author never
Wed, 17 Sep 2008 12:59:52 -0700
changeset 1399 9648dfd4ce09
parent 1 489c9b5090e2
child 4567 7fc02fbe5c7a
permissions -rw-r--r--
6384206: Phis which are later unneeded are impairing our ability to inline based on static types Reviewed-by: rasbold, jrose
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
/*
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
 * Copyright 1999-2007 Sun Microsystems, Inc.  All Rights Reserved.
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
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    19
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    20
 * CA 95054 USA or visit www.sun.com if you need additional information or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    21
 * have any questions.
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
#include "incls/_precompiled.incl"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
#include "incls/_ciKlass.cpp.incl"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
// ciKlass
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
// This class represents a klassOop in the HotSpot virtual
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
// machine.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
// ciKlass::ciKlass
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
ciKlass::ciKlass(KlassHandle h_k) : ciType(h_k) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
  assert(get_oop()->is_klass(), "wrong type");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
  Klass* k = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
  _layout_helper = k->layout_helper();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
  symbolOop klass_name = k->name();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
  assert(klass_name != NULL, "wrong ciKlass constructor");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
  _name = CURRENT_ENV->get_object(klass_name)->as_symbol();
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
// ciKlass::ciKlass
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
// Nameless klass variant.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
ciKlass::ciKlass(KlassHandle h_k, ciSymbol* name) : ciType(h_k) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
  assert(get_oop()->is_klass(), "wrong type");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
  _name = name;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
  _layout_helper = Klass::_lh_neutral_value;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
// ciKlass::ciKlass
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
// Unloaded klass variant.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
ciKlass::ciKlass(ciSymbol* name, ciKlass* klass) : ciType(klass) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
  _name = name;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
  _layout_helper = Klass::_lh_neutral_value;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
// ciKlass::is_subtype_of
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
bool ciKlass::is_subtype_of(ciKlass* that) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
  assert(is_loaded() && that->is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
  assert(is_java_klass() && that->is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
  // Check to see if the klasses are identical.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
  if (this == that) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
    return true;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
  klassOop that_klass = that->get_klassOop();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
  bool result = this_klass->is_subtype_of(that_klass);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
  return result;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
// ciKlass::is_subclass_of
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
bool ciKlass::is_subclass_of(ciKlass* that) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
  assert(is_loaded() && that->is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
  assert(is_java_klass() && that->is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
  // Check to see if the klasses are identical.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
  klassOop that_klass = that->get_klassOop();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
  bool result = this_klass->is_subclass_of(that_klass);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
  return result;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
// ciKlass::super_depth
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
juint ciKlass::super_depth() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
  assert(is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
  assert(is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
  return this_klass->super_depth();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
// ciKlass::super_check_offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
juint ciKlass::super_check_offset() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
  assert(is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
  assert(is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
  return this_klass->super_check_offset();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
// ciKlass::super_of_depth
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
ciKlass* ciKlass::super_of_depth(juint i) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
  assert(is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
  assert(is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
  klassOop super = this_klass->primary_super_of_depth(i);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
  return (super != NULL) ? CURRENT_THREAD_ENV->get_object(super)->as_klass() : NULL;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
// ciKlass::can_be_primary_super
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
bool ciKlass::can_be_primary_super() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
  assert(is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
  assert(is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
  return this_klass->can_be_primary_super();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
// ciKlass::least_common_ancestor
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
// Get the shared parent of two klasses.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
// Implementation note: this method currently goes "over the wall"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
// and does all of the work on the VM side.  It could be rewritten
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
// to use the super() method and do all of the work (aside from the
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
// lazy computation of super()) in native mode.  This may be
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
// worthwhile if the compiler is repeatedly requesting the same lca
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
// computation or possibly if most of the superklasses have already
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
// been created as ciObjects anyway.  Something to think about...
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
ciKlass*
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
ciKlass::least_common_ancestor(ciKlass* that) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
  assert(is_loaded() && that->is_loaded(), "must be loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
  assert(is_java_klass() && that->is_java_klass(), "must be java klasses");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
  // Check to see if the klasses are identical.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
  if (this == that) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
    return this;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
  VM_ENTRY_MARK;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
  Klass* this_klass = get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
  Klass* that_klass = that->get_Klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
  Klass* lca        = this_klass->LCA(that_klass);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
  // Many times the LCA will be either this_klass or that_klass.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
  // Treat these as special cases.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
  if (lca == that_klass) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
    return that;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
  if (this_klass == lca) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
    return this;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
  // Create the ciInstanceKlass for the lca.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
  ciKlass* result =
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
    CURRENT_THREAD_ENV->get_object(lca->as_klassOop())->as_klass();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
  return result;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
// ciKlass::find_klass
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
// Find a klass using this klass's class loader.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
ciKlass* ciKlass::find_klass(ciSymbol* klass_name) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
  assert(is_loaded(), "cannot find_klass through an unloaded klass");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
  return CURRENT_ENV->get_klass_by_name(this,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
                                        klass_name, false);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
// ciKlass::java_mirror
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
ciInstance* ciKlass::java_mirror() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
  GUARDED_VM_ENTRY(
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
    oop java_mirror = get_Klass()->java_mirror();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
    return CURRENT_ENV->get_object(java_mirror)->as_instance();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
  )
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
// ciKlass::modifier_flags
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
jint ciKlass::modifier_flags() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
  assert(is_loaded(), "not loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
  GUARDED_VM_ENTRY(
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
    return get_Klass()->modifier_flags();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
  )
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
// ciKlass::access_flags
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
jint ciKlass::access_flags() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
  assert(is_loaded(), "not loaded");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
  GUARDED_VM_ENTRY(
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
    return get_Klass()->access_flags().as_int();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   217
  )
489c9b5090e2 Initial load
duke
parents:
diff changeset
   218
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   219
489c9b5090e2 Initial load
duke
parents:
diff changeset
   220
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   221
// ciKlass::print_impl
489c9b5090e2 Initial load
duke
parents:
diff changeset
   222
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
   223
// Implementation of the print method
489c9b5090e2 Initial load
duke
parents:
diff changeset
   224
void ciKlass::print_impl(outputStream* st) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   225
  st->print(" name=");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   226
  print_name_on(st);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   227
}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   228
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
// ------------------------------------------------------------------
489c9b5090e2 Initial load
duke
parents:
diff changeset
   230
// ciKlass::print_name
489c9b5090e2 Initial load
duke
parents:
diff changeset
   231
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
// Print the name of this klass
489c9b5090e2 Initial load
duke
parents:
diff changeset
   233
void ciKlass::print_name_on(outputStream* st) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   234
  name()->print_symbol_on(st);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   235
}