comparison src/share/vm/opto/graphKit.cpp @ 12886:f91a9a696e5e

8026293: Schedule part of G1 pre-barrier late Summary: move rare executed part of G1 write barrier from hot path. Reviewed-by: kvn, twisti, roland Contributed-by: staffan.friberg@oracle.com
author kvn
date Tue, 15 Oct 2013 12:14:00 -0700
parents f50418dfb1b7
children 3213ba4d3dff
comparison
equal deleted inserted replaced
12884:e504cd481ec0 12886:f91a9a696e5e
3613 3613
3614 // Now some of the values 3614 // Now some of the values
3615 Node* marking = __ load(__ ctrl(), marking_adr, TypeInt::INT, active_type, Compile::AliasIdxRaw); 3615 Node* marking = __ load(__ ctrl(), marking_adr, TypeInt::INT, active_type, Compile::AliasIdxRaw);
3616 3616
3617 // if (!marking) 3617 // if (!marking)
3618 __ if_then(marking, BoolTest::ne, zero); { 3618 __ if_then(marking, BoolTest::ne, zero, unlikely); {
3619 BasicType index_bt = TypeX_X->basic_type(); 3619 BasicType index_bt = TypeX_X->basic_type();
3620 assert(sizeof(size_t) == type2aelembytes(index_bt), "Loading G1 PtrQueue::_index with wrong size."); 3620 assert(sizeof(size_t) == type2aelembytes(index_bt), "Loading G1 PtrQueue::_index with wrong size.");
3621 Node* index = __ load(__ ctrl(), index_adr, TypeX_X, index_bt, Compile::AliasIdxRaw); 3621 Node* index = __ load(__ ctrl(), index_adr, TypeX_X, index_bt, Compile::AliasIdxRaw);
3622 3622
3623 if (do_load) { 3623 if (do_load) {