comparison src/share/vm/oops/oop.hpp @ 7745:6dc8db7164d2

Added tag jdk9-b49 for changeset 360cd1fc42f1
author katleman
date Thu, 05 Feb 2015 11:43:29 -0800
parents cd6b3f1a94ff
children 6a5be7f00868
comparison
equal deleted inserted replaced
29:ee8c7dcfadf8 30:c800dd1832dd
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