comparison src/share/vm/oops/cpCacheOop.cpp @ 2460:ed69575596ac

6981791: remove experimental code for JSR 292 Reviewed-by: twisti
author jrose
date Thu, 07 Apr 2011 17:02:30 -0700
parents c7f3d0b4570f
children 08ccee2c4dbf
comparison
equal deleted inserted replaced
2459:55973726c600 2460:ed69575596ac
183 (intptr_t)method(), vtable_index); 183 (intptr_t)method(), vtable_index);
184 method->print(); 184 method->print();
185 this->print(tty, 0); 185 this->print(tty, 0);
186 } 186 }
187 assert(method->can_be_statically_bound(), "must be a MH invoker method"); 187 assert(method->can_be_statically_bound(), "must be a MH invoker method");
188 assert(AllowTransitionalJSR292 || _f2 >= constantPoolOopDesc::CPCACHE_INDEX_TAG, "BSM index initialized"); 188 assert(_f2 >= constantPoolOopDesc::CPCACHE_INDEX_TAG, "BSM index initialized");
189 // SystemDictionary::find_method_handle_invoke only caches 189 // SystemDictionary::find_method_handle_invoke only caches
190 // methods which signature classes are on the boot classpath, 190 // methods which signature classes are on the boot classpath,
191 // otherwise the newly created method is returned. To avoid 191 // otherwise the newly created method is returned. To avoid
192 // races in that case we store the first one coming in into the 192 // races in that case we store the first one coming in into the
193 // cp-cache atomically if it's still unset. 193 // cp-cache atomically if it's still unset.