Mercurial > hg > truffle
comparison src/share/vm/opto/runtime.cpp @ 1216:7f8790caccb0
Merge
author | apangin |
---|---|
date | Thu, 04 Feb 2010 15:50:59 -0800 |
parents | 6deeaebad47a 87684f1a88b5 |
children | 7b4415a18c8a |
comparison
equal
deleted
inserted
replaced
1215:f19bf22685cc | 1216:7f8790caccb0 |
---|---|
704 // vc->set_receiver(empty_row, receiver_klass); | 704 // vc->set_receiver(empty_row, receiver_klass); |
705 *(mdp + receiver_off) = (intptr_t) receiver_klass; | 705 *(mdp + receiver_off) = (intptr_t) receiver_klass; |
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 { | |
710 // Receiver did not match any saved receiver and there is no empty row for it. | |
711 // Increment total counter to indicate polimorphic case. | |
712 intptr_t* count_p = (intptr_t*)(((byte*)(data)) + in_bytes(CounterData::count_offset())); | |
713 *count_p += DataLayout::counter_increment; | |
709 } | 714 } |
710 JRT_END | 715 JRT_END |
711 | 716 |
712 //----------------------------------------------------------------------------- | 717 //----------------------------------------------------------------------------- |
713 // implicit exception support. | 718 // implicit exception support. |