< prev index next >

src/hotspot/share/oops/klass.inline.hpp

Print this page
@@ -50,10 +50,15 @@
  // of this function must ensure that a safepoint doesn't happen while interpreting the return value.
  inline bool Klass::is_loader_alive() const {
    return class_loader_data()->is_alive();
  }
  
+ inline void Klass::set_prototype_header(markWord header) {
+   assert(UseCompactObjectHeaders, "only with compact headers");
+   _prototype_header = header;
+ }
+ 
  inline oop Klass::java_mirror() const {
    return _java_mirror.resolve();
  }
  
  inline oop Klass::java_mirror_no_keepalive() const {
< prev index next >