< prev index next >

src/share/vm/opto/loopTransform.cpp

Print this page

        

*** 620,631 **** Node* n = _body.at(k); switch (n->Opcode()) { case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: case Op_EncodeISOArray: ! case Op_AryEq: { return false; } #if INCLUDE_RTM_OPT case Op_FastLock: case Op_FastUnlock: { --- 620,633 ---- Node* n = _body.at(k); switch (n->Opcode()) { case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: + case Op_StrIndexOfChar: case Op_EncodeISOArray: ! case Op_AryEq: ! case Op_HasNegatives: { return false; } #if INCLUDE_RTM_OPT case Op_FastLock: case Op_FastUnlock: {
*** 739,750 **** case Op_DivL: body_size += 30; break; case Op_MulL: body_size += 10; break; case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: case Op_EncodeISOArray: ! case Op_AryEq: { // Do not unroll a loop with String intrinsics code. // String intrinsics are large and have loops. return false; } #if INCLUDE_RTM_OPT --- 741,754 ---- case Op_DivL: body_size += 30; break; case Op_MulL: body_size += 10; break; case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: + case Op_StrIndexOfChar: case Op_EncodeISOArray: ! case Op_AryEq: ! case Op_HasNegatives: { // Do not unroll a loop with String intrinsics code. // String intrinsics are large and have loops. return false; } #if INCLUDE_RTM_OPT
< prev index next >