comparison src/share/vm/opto/loopTransform.cpp @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents 76256d272075
children d1605aabd0a1 8d191a7697e2
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
1511 if( bol && bol->req() > 1 && bol->in(1) && 1511 if( bol && bol->req() > 1 && bol->in(1) &&
1512 ((bol->in(1)->Opcode() == Op_StorePConditional ) || 1512 ((bol->in(1)->Opcode() == Op_StorePConditional ) ||
1513 (bol->in(1)->Opcode() == Op_StoreLConditional ) || 1513 (bol->in(1)->Opcode() == Op_StoreLConditional ) ||
1514 (bol->in(1)->Opcode() == Op_CompareAndSwapI ) || 1514 (bol->in(1)->Opcode() == Op_CompareAndSwapI ) ||
1515 (bol->in(1)->Opcode() == Op_CompareAndSwapL ) || 1515 (bol->in(1)->Opcode() == Op_CompareAndSwapL ) ||
1516 (bol->in(1)->Opcode() == Op_CompareAndSwapP ))) 1516 (bol->in(1)->Opcode() == Op_CompareAndSwapP ) ||
1517 (bol->in(1)->Opcode() == Op_CompareAndSwapN )))
1517 return; // Allocation loops RARELY take backedge 1518 return; // Allocation loops RARELY take backedge
1518 // Find the OTHER exit path from the IF 1519 // Find the OTHER exit path from the IF
1519 Node* ex = iff->proj_out(1-test_con); 1520 Node* ex = iff->proj_out(1-test_con);
1520 float p = iff->_prob; 1521 float p = iff->_prob;
1521 if( !phase->is_member( this, ex ) && iff->_fcnt == COUNT_UNKNOWN ) { 1522 if( !phase->is_member( this, ex ) && iff->_fcnt == COUNT_UNKNOWN ) {