comparison src/share/vm/oops/oop.hpp @ 14492:7f0e0366ec81

8035746: Add missing Klass::oop_is_instanceClassLoader() function Reviewed-by: mgerdin, coleenp
author stefank
date Thu, 27 Feb 2014 10:36:50 +0100
parents cd6b3f1a94ff
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14491:301df27023d4 14492:7f0e0366ec81
107 // Sometimes (for complicated concurrency-related reasons), it is useful 107 // Sometimes (for complicated concurrency-related reasons), it is useful
108 // to be able to figure out the size of an object knowing its klass. 108 // to be able to figure out the size of an object knowing its klass.
109 int size_given_klass(Klass* klass); 109 int size_given_klass(Klass* klass);
110 110
111 // type test operations (inlined in oop.inline.h) 111 // type test operations (inlined in oop.inline.h)
112 bool is_instance() const; 112 bool is_instance() const;
113 bool is_instanceMirror() const; 113 bool is_instanceMirror() const;
114 bool is_instanceRef() const; 114 bool is_instanceClassLoader() const;
115 bool is_array() const; 115 bool is_instanceRef() const;
116 bool is_objArray() const; 116 bool is_array() const;
117 bool is_typeArray() const; 117 bool is_objArray() const;
118 bool is_typeArray() const;
118 119
119 private: 120 private:
120 // field addresses in oop 121 // field addresses in oop
121 void* field_base(int offset) const; 122 void* field_base(int offset) const;
122 123