comparison src/share/vm/c1x/c1x_VmIds.cpp @ 1433:efba53f86c4f

various fixes and enhancements * correct refmap->oopmap conversion (register numbering, stack slot numbering) * fixes for inlining (correct scoping in exception handler lookup, NPE in scope conversion) * support for "jump to runtime stub" (patching code needs to be aware of jmp instruction) * provide more information about methods (to allow inlining: has_balanced_monitors, etc.) * fixes to signature type lookup * isSubTypeOf: correct handling of array classes * RiType: componentType/arrayOf * prologue: inline cache check, icmiss stub * klass state check (resolved but not initialized) in newinstance * card table write barriers * c1x classes are optional (to allow running c1 without them) * correct for stored frame pointer in calling conventions (methods with arguments on stack) * getType(Class<?>) for some basic types, used for optimizations and folding * RiMethod/RiType: throw exception instead of silent failure on unsupported operations * RiType: resolved/unresolved array type support * refactoring: new on-demand template generation mechanism * optimizations: template specialization for no_null_check, given length, etc.
author Lukas Stadler <lukas.stadler@oracle.com>
date Thu, 16 Sep 2010 19:42:20 -0700
parents b61a43cd1255
children 72cfb36c6bb2
comparison
equal deleted inserted replaced
1432:b61a43cd1255 1433:efba53f86c4f
57 for (int i = 0; i < _localHandles->length(); i++) 57 for (int i = 0; i < _localHandles->length(); i++)
58 if (JNIHandles::resolve_non_null(_localHandles->at(i)) == obj()) { 58 if (JNIHandles::resolve_non_null(_localHandles->at(i)) == obj()) {
59 idx = i; 59 idx = i;
60 break; 60 break;
61 } 61 }
62 if (idx = -1) { 62 if (idx == -1) {
63 if (JavaThread::current()->thread_state() == _thread_in_vm) { 63 if (JavaThread::current()->thread_state() == _thread_in_vm) {
64 idx = _localHandles->append(JNIHandles::make_global(obj)); 64 idx = _localHandles->append(JNIHandles::make_global(obj));
65 } else { 65 } else {
66 VM_ENTRY_MARK; 66 VM_ENTRY_MARK;
67 idx = _localHandles->append(JNIHandles::make_global(obj)); 67 idx = _localHandles->append(JNIHandles::make_global(obj));