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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "ci/ciField.hpp"
27 #include "ci/ciInstance.hpp"
28 #include "ci/ciInstanceKlass.hpp"
29 #include "ci/ciUtilities.inline.hpp"
30 #include "classfile/systemDictionary.hpp"
31 #include "memory/allocation.hpp"
32 #include "memory/allocation.inline.hpp"
33 #include "memory/resourceArea.hpp"
34 #include "oops/oop.inline.hpp"
35 #include "oops/fieldStreams.hpp"
36 #include "runtime/fieldDescriptor.hpp"
37 #include "runtime/handles.inline.hpp"
38 #include "runtime/jniHandles.inline.hpp"
39
40 // ciInstanceKlass
41 //
42 // This class represents a Klass* in the HotSpot virtual machine
43 // whose Klass part in an InstanceKlass.
44
45
46 // ------------------------------------------------------------------
47 // ciInstanceKlass::ciInstanceKlass
48 //
49 // Loaded instance klass.
50 ciInstanceKlass::ciInstanceKlass(Klass* k) :
51 ciKlass(k)
52 {
53 assert(get_Klass()->is_instance_klass(), "wrong type");
54 assert(get_instanceKlass()->is_loaded(), "must be at least loaded");
55 InstanceKlass* ik = get_instanceKlass();
56
|
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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "ci/ciField.hpp"
27 #include "ci/ciInstance.hpp"
28 #include "ci/ciInstanceKlass.hpp"
29 #include "ci/ciUtilities.inline.hpp"
30 #include "classfile/systemDictionary.hpp"
31 #include "memory/allocation.hpp"
32 #include "memory/allocation.inline.hpp"
33 #include "memory/resourceArea.hpp"
34 #include "oops/oop.inline.hpp"
35 #include "oops/fieldStreams.hpp"
36 #include "runtime/fieldDescriptor.inline.hpp"
37 #include "runtime/handles.inline.hpp"
38 #include "runtime/jniHandles.inline.hpp"
39
40 // ciInstanceKlass
41 //
42 // This class represents a Klass* in the HotSpot virtual machine
43 // whose Klass part in an InstanceKlass.
44
45
46 // ------------------------------------------------------------------
47 // ciInstanceKlass::ciInstanceKlass
48 //
49 // Loaded instance klass.
50 ciInstanceKlass::ciInstanceKlass(Klass* k) :
51 ciKlass(k)
52 {
53 assert(get_Klass()->is_instance_klass(), "wrong type");
54 assert(get_instanceKlass()->is_loaded(), "must be at least loaded");
55 InstanceKlass* ik = get_instanceKlass();
56
|