hotspot/src/share/vm/opto/loopTransform.cpp
changeset 33628 09241459a8b8
parent 32202 7e7ad8b06f5b
child 34164 a9e6034d7707
equal deleted inserted replaced
33627:c5b7455f846e 33628:09241459a8b8
   620     Node* n = _body.at(k);
   620     Node* n = _body.at(k);
   621     switch (n->Opcode()) {
   621     switch (n->Opcode()) {
   622       case Op_StrComp:
   622       case Op_StrComp:
   623       case Op_StrEquals:
   623       case Op_StrEquals:
   624       case Op_StrIndexOf:
   624       case Op_StrIndexOf:
       
   625       case Op_StrIndexOfChar:
   625       case Op_EncodeISOArray:
   626       case Op_EncodeISOArray:
   626       case Op_AryEq: {
   627       case Op_AryEq:
       
   628       case Op_HasNegatives: {
   627         return false;
   629         return false;
   628       }
   630       }
   629 #if INCLUDE_RTM_OPT
   631 #if INCLUDE_RTM_OPT
   630       case Op_FastLock:
   632       case Op_FastLock:
   631       case Op_FastUnlock: {
   633       case Op_FastUnlock: {
   739       case Op_DivL: body_size += 30; break;
   741       case Op_DivL: body_size += 30; break;
   740       case Op_MulL: body_size += 10; break;
   742       case Op_MulL: body_size += 10; break;
   741       case Op_StrComp:
   743       case Op_StrComp:
   742       case Op_StrEquals:
   744       case Op_StrEquals:
   743       case Op_StrIndexOf:
   745       case Op_StrIndexOf:
       
   746       case Op_StrIndexOfChar:
   744       case Op_EncodeISOArray:
   747       case Op_EncodeISOArray:
   745       case Op_AryEq: {
   748       case Op_AryEq:
       
   749       case Op_HasNegatives: {
   746         // Do not unroll a loop with String intrinsics code.
   750         // Do not unroll a loop with String intrinsics code.
   747         // String intrinsics are large and have loops.
   751         // String intrinsics are large and have loops.
   748         return false;
   752         return false;
   749       }
   753       }
   750 #if INCLUDE_RTM_OPT
   754 #if INCLUDE_RTM_OPT