comparison src/share/vm/interpreter/rewriter.cpp @ 1423:760213a60e8b

* rewrite of the code installation * partial support for safepoints * macro-based CiTargetMethod interface * code stub support
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 16 Aug 2010 18:59:36 -0700
parents dd57230ba8fe
children efba53f86c4f
comparison
equal deleted inserted replaced
1422:3483ec571caf 1423:760213a60e8b
175 assert(bc_length != 0, "impossible bytecode length"); 175 assert(bc_length != 0, "impossible bytecode length");
176 176
177 switch (c) { 177 switch (c) {
178 case Bytecodes::_lookupswitch : { 178 case Bytecodes::_lookupswitch : {
179 #ifndef CC_INTERP 179 #ifndef CC_INTERP
180 Bytecode_lookupswitch* bc = Bytecode_lookupswitch_at(bcp); 180 if (!UseC1X) {
181 bc->set_code( 181 Bytecode_lookupswitch* bc = Bytecode_lookupswitch_at(bcp);
182 bc->number_of_pairs() < BinarySwitchThreshold 182 bc->set_code(
183 ? Bytecodes::_fast_linearswitch 183 bc->number_of_pairs() < BinarySwitchThreshold
184 : Bytecodes::_fast_binaryswitch 184 ? Bytecodes::_fast_linearswitch
185 ); 185 : Bytecodes::_fast_binaryswitch
186 );
187 }
186 #endif 188 #endif
187 break; 189 break;
188 } 190 }
189 case Bytecodes::_getstatic : // fall through 191 case Bytecodes::_getstatic : // fall through
190 case Bytecodes::_putstatic : // fall through 192 case Bytecodes::_putstatic : // fall through