Coordination of error reporting among multiple managed runtimes in the same process
AssigneeMicrosoft Corporation
InventorsHsu-chieh Yuan, Richard M. Byers, Thomas Lai, Jon Langdon, Kumar Gaurav Khanna, Vipul D. Patel
Life of this patent
Estimating the term…
Abstract
Systems and methods are described for coordinating error reporting among a plurality of managed runtimes that are concurrently executing in the same process. In accordance with various embodiments, an error reporting manager that executes concurrently in the same process as the managed runtimes coordinates error reporting among the managed runtimes in a manner that does not require the managed runtimes to be aware of each other or to communicate directly with each other.
Claims20
A method for facilitating coordinated error reporting by a first managed runtime that is concurrently running with plurality of other managed runtimes in a process executing on a processor-based computer system, comprising:
- determining that an error has occurred;
- responsive to determining that the error has occurred, determining whether the error was caused by the first managed runtime;
- responsive to determining that the error was caused by the first managed runtime, reporting the error.
A method for coordinating error reporting among a plurality of managed runtimes concurrently running in a process executing on a processor-based computer system by an error reporting manager executing in the same process, the method comprising:
- receiving a request from a first managed runtime in the plurality of managed runtimes for permission to perform error reporting;
- determining if error reporting has already been initiated by another managed runtime in the plurality of managed runtimes;
- and
- responsive to determining that error reporting has already been initiated by another managed runtime in the plurality of managed runtimes, sending an indicator to the first managed runtime that indicates that the first managed runtime is not permitted to perform error reporting.
A method for coordinating error reporting among a plurality of managed runtimes concurrently running in a process executing on a processor-based computer system by an error reporting manager executing in the same process, the method comprising:
- registering an error claiming callback received from each of the managed runtimes;
- receiving a request from a first managed runtime in the plurality of managed runtimes to determine if an error encountered by the first managed runtime is claimed by any of the managed runtimes;
- and
- responsive to receiving the request from the first managed runtime, invoking each of the registered error claiming callbacks to determine if any of the managed runtimes claims ownership of the error, and sending an indicator to the first managed runtime indicating whether any of the other managed runtimes has claimed ownership of the error;
- wherein the first managed runtime is configured to ignore the error if the error is claimed by another managed runtime and is configured to attempt to report the error if the error is not claimed by another managed runtime.
Dependencies are inferred from the claim text.