Mercurial > hg > truffle
comparison src/share/vm/oops/cpCacheOop.cpp @ 1662:e0ba4e04c839
6969574: invokedynamic call sites deoptimize instead of executing
Reviewed-by: kvn
author | jrose |
---|---|
date | Fri, 16 Jul 2010 18:14:19 -0700 |
parents | 083fde3b838e |
children | 87d6a4d1ecbc |
comparison
equal
deleted
inserted
replaced
1661:01b172b8cd7c | 1662:e0ba4e04c839 |
---|---|
166 assert(method->can_be_statically_bound(), "must be a MH invoker method"); | 166 assert(method->can_be_statically_bound(), "must be a MH invoker method"); |
167 assert(AllowTransitionalJSR292 || _f2 >= constantPoolOopDesc::CPCACHE_INDEX_TAG, "BSM index initialized"); | 167 assert(AllowTransitionalJSR292 || _f2 >= constantPoolOopDesc::CPCACHE_INDEX_TAG, "BSM index initialized"); |
168 set_f1(method()); | 168 set_f1(method()); |
169 needs_vfinal_flag = false; // _f2 is not an oop | 169 needs_vfinal_flag = false; // _f2 is not an oop |
170 assert(!is_vfinal(), "f2 not an oop"); | 170 assert(!is_vfinal(), "f2 not an oop"); |
171 byte_no = 1; // just a formality | 171 byte_no = 1; // coordinate this with bytecode_number & is_resolved |
172 break; | 172 break; |
173 | 173 |
174 case Bytecodes::_invokespecial: | 174 case Bytecodes::_invokespecial: |
175 // Preserve the value of the vfinal flag on invokevirtual bytecode | 175 // Preserve the value of the vfinal flag on invokevirtual bytecode |
176 // which may be shared with this constant pool cache entry. | 176 // which may be shared with this constant pool cache entry. |