Mercurial > hg > truffle
comparison src/share/vm/opto/loopTransform.cpp @ 420:a1980da045cc
6462850: generate biased locking code in C2 ideal graph
Summary: Inline biased locking code in C2 ideal graph during macro nodes expansion
Reviewed-by: never
author | kvn |
---|---|
date | Fri, 07 Nov 2008 09:29:38 -0800 |
parents | ee8f06bfb27c |
children | 98cb887364d3 |
comparison
equal
deleted
inserted
replaced
419:0bf25c4807f9 | 420:a1980da045cc |
---|---|
1517 IfNode *iff = test->in(0)->as_If(); | 1517 IfNode *iff = test->in(0)->as_If(); |
1518 if( iff->outcnt() == 2 ) { // Ignore dead tests | 1518 if( iff->outcnt() == 2 ) { // Ignore dead tests |
1519 Node *bol = iff->in(1); | 1519 Node *bol = iff->in(1); |
1520 if( bol && bol->req() > 1 && bol->in(1) && | 1520 if( bol && bol->req() > 1 && bol->in(1) && |
1521 ((bol->in(1)->Opcode() == Op_StorePConditional ) || | 1521 ((bol->in(1)->Opcode() == Op_StorePConditional ) || |
1522 (bol->in(1)->Opcode() == Op_StoreIConditional ) || | |
1522 (bol->in(1)->Opcode() == Op_StoreLConditional ) || | 1523 (bol->in(1)->Opcode() == Op_StoreLConditional ) || |
1523 (bol->in(1)->Opcode() == Op_CompareAndSwapI ) || | 1524 (bol->in(1)->Opcode() == Op_CompareAndSwapI ) || |
1524 (bol->in(1)->Opcode() == Op_CompareAndSwapL ) || | 1525 (bol->in(1)->Opcode() == Op_CompareAndSwapL ) || |
1525 (bol->in(1)->Opcode() == Op_CompareAndSwapP ) || | 1526 (bol->in(1)->Opcode() == Op_CompareAndSwapP ) || |
1526 (bol->in(1)->Opcode() == Op_CompareAndSwapN ))) | 1527 (bol->in(1)->Opcode() == Op_CompareAndSwapN ))) |