< prev index next >

src/hotspot/share/oops/klass.cpp

Print this page
@@ -708,10 +708,28 @@
      return result;
    }
    return name()->as_C_string();
  }
  
+ size_t Klass::copy_disjoint(oop obj, HeapWord* to, size_t word_size) { 
+   Copy::aligned_disjoint_words(cast_from_oop<HeapWord*>(obj), to, word_size);
+   return word_size;
+ }
+ 
+ size_t Klass::copy_conjoint(oop obj, HeapWord* to, size_t word_size) { 
+   Copy::aligned_conjoint_words(cast_from_oop<HeapWord*>(obj), to, word_size);
+   return word_size;
+ }
+ 
+ size_t Klass::copy_disjoint_compact(oop obj, HeapWord* to) { 
+   return obj->copy_disjoint(to); 
+ }
+ 
+ size_t Klass::copy_conjoint_compact(oop obj, HeapWord* to) { 
+   return obj->copy_conjoint(to); 
+ }
+ 
  const char* Klass::external_kind() const {
    if (is_interface()) return "interface";
    if (is_abstract()) return "abstract class";
    return "class";
  }
< prev index next >