equal
deleted
inserted
replaced
293 |
293 |
294 if (meta->scopes_pcs_begin() == meta->scopes_pcs_end()) { |
294 if (meta->scopes_pcs_begin() == meta->scopes_pcs_end()) { |
295 // When the AOT compiler compiles something big we fail to generate metadata |
295 // When the AOT compiler compiles something big we fail to generate metadata |
296 // in CodeInstaller::gather_metadata. In that case the scopes_pcs_begin == scopes_pcs_end. |
296 // in CodeInstaller::gather_metadata. In that case the scopes_pcs_begin == scopes_pcs_end. |
297 // In all successful cases we always have 2 entries of scope pcs. |
297 // In all successful cases we always have 2 entries of scope pcs. |
|
298 log_info(aot, class, resolve)("Failed to load %s (no metadata available)", mh->name_and_sig_as_C_string()); |
|
299 _code_to_aot[code_id]._state = invalid; |
298 return; |
300 return; |
299 } |
301 } |
300 |
302 |
301 jlong* state_adr = &_method_state[code_id]; |
303 jlong* state_adr = &_method_state[code_id]; |
302 address metadata_table = method_data->_metadata_table; |
304 address metadata_table = method_data->_metadata_table; |