Mercurial > hg > truffle
comparison src/share/vm/opto/runtime.cpp @ 1257:7b4415a18c8a
Merge
author | kvn |
---|---|
date | Fri, 12 Feb 2010 15:27:36 -0800 |
parents | 7f8790caccb0 576e77447e3c |
children | 3cf667df43ef |
comparison
equal
deleted
inserted
replaced
1249:95d21201c29a | 1257:7b4415a18c8a |
---|---|
706 // vc->set_receiver_count(empty_row, DataLayout::counter_increment); | 706 // vc->set_receiver_count(empty_row, DataLayout::counter_increment); |
707 int count_off = ReceiverTypeData::receiver_count_cell_index(empty_row); | 707 int count_off = ReceiverTypeData::receiver_count_cell_index(empty_row); |
708 *(mdp + count_off) = DataLayout::counter_increment; | 708 *(mdp + count_off) = DataLayout::counter_increment; |
709 } else { | 709 } else { |
710 // Receiver did not match any saved receiver and there is no empty row for it. | 710 // Receiver did not match any saved receiver and there is no empty row for it. |
711 // Increment total counter to indicate polimorphic case. | 711 // Increment total counter to indicate polymorphic case. |
712 intptr_t* count_p = (intptr_t*)(((byte*)(data)) + in_bytes(CounterData::count_offset())); | 712 intptr_t* count_p = (intptr_t*)(((byte*)(data)) + in_bytes(CounterData::count_offset())); |
713 *count_p += DataLayout::counter_increment; | 713 *count_p += DataLayout::counter_increment; |
714 } | 714 } |
715 JRT_END | 715 JRT_END |
716 | 716 |