src/share/vm/opto/library_call.cpp

changeset 7890
bf41eee321e5
parent 7859
c1c199dde5c9
child 7994
04ff2f6cd0eb
child 8307
daaf806995b3
equal deleted inserted replaced
7889:0b7060827bca 7890:bf41eee321e5
6563 && (aobj->length() == 2)) { 6563 && (aobj->length() == 2)) {
6564 // Profile is int[2] where [0] and [1] correspond to false and true value occurrences respectively. 6564 // Profile is int[2] where [0] and [1] correspond to false and true value occurrences respectively.
6565 jint false_cnt = aobj->element_value(0).as_int(); 6565 jint false_cnt = aobj->element_value(0).as_int();
6566 jint true_cnt = aobj->element_value(1).as_int(); 6566 jint true_cnt = aobj->element_value(1).as_int();
6567 6567
6568 method()->set_injected_profile(true);
6569
6570 if (C->log() != NULL) { 6568 if (C->log() != NULL) {
6571 C->log()->elem("observe source='profileBoolean' false='%d' true='%d'", 6569 C->log()->elem("observe source='profileBoolean' false='%d' true='%d'",
6572 false_cnt, true_cnt); 6570 false_cnt, true_cnt);
6573 } 6571 }
6574 6572

mercurial