12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
23 */
24
25 // ciInstanceKlass
26 //
27 // This class represents a klassOop in the HotSpot virtual machine
28 // whose Klass part is an instanceKlass. It may or may not
29 // be loaded.
30 class ciInstanceKlass : public ciKlass {
31 CI_PACKAGE_ACCESS
32 friend class ciEnv;
33 friend class ciMethod;
34 friend class ciField;
35 friend class ciBytecodeStream;
36
37 private:
38 jobject _loader;
39 jobject _protection_domain;
40
41 bool _is_shared;
42 bool _is_initialized;
43 bool _is_linked;
44 bool _has_finalizer;
45 bool _has_subklass;
46 bool _has_nonstatic_fields;
47
48 ciFlags _flags;
49 jint _nonstatic_field_size;
50 jint _nonstatic_oop_map_size;
51
52 // Lazy fields get filled in only upon request.
53 ciInstanceKlass* _super;
54 ciInstance* _java_mirror;
55
|
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
23 */
24
25 // ciInstanceKlass
26 //
27 // This class represents a klassOop in the HotSpot virtual machine
28 // whose Klass part is an instanceKlass. It may or may not
29 // be loaded.
30 class ciInstanceKlass : public ciKlass {
31 CI_PACKAGE_ACCESS
32 friend class ciBytecodeStream;
33 friend class ciEnv;
34 friend class ciExceptionHandler;
35 friend class ciMethod;
36 friend class ciField;
37
38 private:
39 jobject _loader;
40 jobject _protection_domain;
41
42 bool _is_shared;
43 bool _is_initialized;
44 bool _is_linked;
45 bool _has_finalizer;
46 bool _has_subklass;
47 bool _has_nonstatic_fields;
48
49 ciFlags _flags;
50 jint _nonstatic_field_size;
51 jint _nonstatic_oop_map_size;
52
53 // Lazy fields get filled in only upon request.
54 ciInstanceKlass* _super;
55 ciInstance* _java_mirror;
56
|