Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstanceKlass.cpp Fri Jul 23 15:53:02 2010 -0700 +++ b/src/share/vm/ci/ciInstanceKlass.cpp Mon Aug 02 15:44:38 2010 -0700 @@ -57,10 +57,9 @@ } Thread *thread = Thread::current(); - if (ciObjectFactory::is_initialized()) { + if (ciObjectFactory::is_initialized() && !UseC1X) { _loader = JNIHandles::make_local(thread, ik->class_loader()); - _protection_domain = JNIHandles::make_local(thread, - ik->protection_domain()); + _protection_domain = JNIHandles::make_local(thread, ik->protection_domain()); _is_shared = false; } else { Handle h_loader(thread, ik->class_loader());