211 // which should not be loaded.) If we ever see a non-null |
211 // which should not be loaded.) If we ever see a non-null |
212 // value, we will then trap and recompile. (The trap will |
212 // value, we will then trap and recompile. (The trap will |
213 // not need to mention the class index, since the class will |
213 // not need to mention the class index, since the class will |
214 // already have been loaded if we ever see a non-null value.) |
214 // already have been loaded if we ever see a non-null value.) |
215 // uncommon_trap(iter().get_field_signature_index()); |
215 // uncommon_trap(iter().get_field_signature_index()); |
216 #ifndef PRODUCT |
|
217 if (PrintOpto && (Verbose || WizardMode)) { |
216 if (PrintOpto && (Verbose || WizardMode)) { |
218 method()->print_name(); tty->print_cr(" asserting nullness of field at bci: %d", bci()); |
217 method()->print_name(); tty->print_cr(" asserting nullness of field at bci: %d", bci()); |
219 } |
218 } |
220 #endif |
|
221 if (C->log() != NULL) { |
219 if (C->log() != NULL) { |
222 C->log()->elem("assert_null reason='field' klass='%d'", |
220 C->log()->elem("assert_null reason='field' klass='%d'", |
223 C->log()->identify(field->type())); |
221 C->log()->identify(field->type())); |
224 } |
222 } |
225 // If there is going to be a trap, put it at the next bytecode: |
223 // If there is going to be a trap, put it at the next bytecode: |