A fault collection and reaction method for a system-on-chip (SoC) comprising a plurality of functional components with a plurality of safety management unit (SMU) instances deployed with at least one SMU instance at each functional component, where a first SMU instance located at a first functional component is configured to perform the steps of:
- monitoring a first set of one or more resources assigned to run a first application at the first functional component;
- generating a first failure report in response to detecting a first fault at a hardware or software resource used by the first application;
- identifying one or more reallocation resources from a ranked listing of candidate resource sets for the first application, where each candidate resource set is capable of running the first application;
- and
- reconfiguring the first application to use the one or more reallocation resources;
- where the ranked listing of candidate resource sets is dynamically updated based on runtime performance and health measures of hardware and software resources in the ranked listing of candidate resource sets for the first application.