< prev index next >

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

Print this page

        

@@ -28,10 +28,10 @@
 #include "oops/compressedOops.hpp"
 #include "oops/klass.hpp"
 #include "oops/markOop.hpp"
 
 inline void Klass::set_prototype_header(markOop header) {
-  assert(!header->has_bias_pattern() || is_instance_klass(), "biased locking currently only supported for Java instances");
+  assert(!is_value() || header->is_always_locked(), "Unexpected prototype");
   _prototype_header = header;
 }
 
 #endif // SHARE_OOPS_KLASS_INLINE_HPP
< prev index next >