comparison src/share/vm/ci/ciInstanceKlass.cpp @ 1422:3483ec571caf

* using reflected objects instead of oops * removed scratch from allocatable registers * instanceof xir snippet * arraylength xir snippet * exceptionobject xir snippet * VMEntries and VMExits as interfaces * calls to VMEntries and VMExits are routet through logging proxies
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 02 Aug 2010 15:44:38 -0700
parents 4ce7240d622c
children 5571b97fc1ec
comparison
equal deleted inserted replaced
1421:6223633ce7dd 1422:3483ec571caf
55 for (int i = 0; i < implementors_limit; i++) { 55 for (int i = 0; i < implementors_limit; i++) {
56 _implementors[i] = NULL; // we will fill these lazily 56 _implementors[i] = NULL; // we will fill these lazily
57 } 57 }
58 58
59 Thread *thread = Thread::current(); 59 Thread *thread = Thread::current();
60 if (ciObjectFactory::is_initialized()) { 60 if (ciObjectFactory::is_initialized() && !UseC1X) {
61 _loader = JNIHandles::make_local(thread, ik->class_loader()); 61 _loader = JNIHandles::make_local(thread, ik->class_loader());
62 _protection_domain = JNIHandles::make_local(thread, 62 _protection_domain = JNIHandles::make_local(thread, ik->protection_domain());
63 ik->protection_domain());
64 _is_shared = false; 63 _is_shared = false;
65 } else { 64 } else {
66 Handle h_loader(thread, ik->class_loader()); 65 Handle h_loader(thread, ik->class_loader());
67 Handle h_protection_domain(thread, ik->protection_domain()); 66 Handle h_protection_domain(thread, ik->protection_domain());
68 _loader = JNIHandles::make_global(h_loader); 67 _loader = JNIHandles::make_global(h_loader);