equal
deleted
inserted
replaced
918 JVMCIPrimitiveArray exceptionArray = JVMCIENV->new_byteArray(table_size, JVMCI_CHECK_(JVMCI::cache_full)); |
918 JVMCIPrimitiveArray exceptionArray = JVMCIENV->new_byteArray(table_size, JVMCI_CHECK_(JVMCI::cache_full)); |
919 if (table_size > 0) { |
919 if (table_size > 0) { |
920 handler->copy_bytes_to((address) HotSpotJVMCI::resolve(exceptionArray)->byte_at_addr(0)); |
920 handler->copy_bytes_to((address) HotSpotJVMCI::resolve(exceptionArray)->byte_at_addr(0)); |
921 } |
921 } |
922 HotSpotJVMCI::HotSpotMetaData::set_exceptionBytes(JVMCIENV, metadata_handle, exceptionArray); |
922 HotSpotJVMCI::HotSpotMetaData::set_exceptionBytes(JVMCIENV, metadata_handle, exceptionArray); |
|
923 |
|
924 ImplicitExceptionTable* implicit = code_metadata.get_implicit_exception_table(); |
|
925 int implicit_table_size = implicit->size_in_bytes(); |
|
926 JVMCIPrimitiveArray implicitExceptionArray = JVMCIENV->new_byteArray(implicit_table_size, JVMCI_CHECK_(JVMCI::cache_full)); |
|
927 if (implicit_table_size > 0) { |
|
928 implicit->copy_bytes_to((address) HotSpotJVMCI::resolve(implicitExceptionArray)->byte_at_addr(0), implicit_table_size); |
|
929 } |
|
930 HotSpotJVMCI::HotSpotMetaData::set_implicitExceptionBytes(JVMCIENV, metadata_handle, implicitExceptionArray); |
923 |
931 |
924 return result; |
932 return result; |
925 #else |
933 #else |
926 JVMCI_THROW_MSG_0(InternalError, "unimplemented"); |
934 JVMCI_THROW_MSG_0(InternalError, "unimplemented"); |
927 #endif |
935 #endif |