equal
deleted
inserted
replaced
41 return str; |
41 return str; |
42 } |
42 } |
43 |
43 |
44 // ------------------------------------------------------------------ |
44 // ------------------------------------------------------------------ |
45 // card_table_base |
45 // card_table_base |
46 jbyte *ci_card_table_address() { |
46 CardTable::CardValue* ci_card_table_address() { |
47 BarrierSet* bs = BarrierSet::barrier_set(); |
47 BarrierSet* bs = BarrierSet::barrier_set(); |
48 CardTableBarrierSet* ctbs = barrier_set_cast<CardTableBarrierSet>(bs); |
48 CardTableBarrierSet* ctbs = barrier_set_cast<CardTableBarrierSet>(bs); |
49 CardTable* ct = ctbs->card_table(); |
49 CardTable* ct = ctbs->card_table(); |
50 assert(sizeof(*ct->byte_map_base()) == sizeof(jbyte), "adjust users of this code"); |
|
51 return ct->byte_map_base(); |
50 return ct->byte_map_base(); |
52 } |
51 } |