src/share/vm/ci/ciInstanceKlass.hpp

changeset 8914
75000d7dd468
parent 8739
0b85ccd62409
child 8856
ac27a9c85bea
equal deleted inserted replaced
8913:6fd7899f5669 8914:75000d7dd468
1 /* 1 /*
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
51 bool _is_shared; 51 bool _is_shared;
52 bool _has_finalizer; 52 bool _has_finalizer;
53 bool _has_subklass; 53 bool _has_subklass;
54 bool _has_nonstatic_fields; 54 bool _has_nonstatic_fields;
55 bool _has_default_methods; 55 bool _has_default_methods;
56 bool _is_anonymous;
56 57
57 ciFlags _flags; 58 ciFlags _flags;
58 jint _nonstatic_field_size; 59 jint _nonstatic_field_size;
59 jint _nonstatic_oop_map_size; 60 jint _nonstatic_oop_map_size;
60 61
175 bool has_default_methods() { 176 bool has_default_methods() {
176 assert(is_loaded(), "must be loaded"); 177 assert(is_loaded(), "must be loaded");
177 return _has_default_methods; 178 return _has_default_methods;
178 } 179 }
179 180
181 bool is_anonymous() {
182 return _is_anonymous;
183 }
184
180 ciInstanceKlass* get_canonical_holder(int offset); 185 ciInstanceKlass* get_canonical_holder(int offset);
181 ciField* get_field_by_offset(int field_offset, bool is_static); 186 ciField* get_field_by_offset(int field_offset, bool is_static);
182 ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static); 187 ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static);
183 188
184 GrowableArray<ciField*>* non_static_fields(); 189 GrowableArray<ciField*>* non_static_fields();
246 return this; 251 return this;
247 } 252 }
248 return NULL; 253 return NULL;
249 } 254 }
250 255
256 ciInstanceKlass* host_klass();
257
251 // Dump the current state of this klass for compilation replay. 258 // Dump the current state of this klass for compilation replay.
252 virtual void dump_replay_data(outputStream* out); 259 virtual void dump_replay_data(outputStream* out);
253 }; 260 };
254 261
255 #endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP 262 #endif // SHARE_VM_CI_CIINSTANCEKLASS_HPP

mercurial