Patent ID: 7546607

Claim:
A method of facilitating efficient communication across a boundary between a managed code portion and a native code portion of a programming framework, the method comprising: receiving, at an abstraction layer operating in the native code portion, a notification: from a virtual machine operating the managed code portion before the notification being transitioned across the boundary to the native code portion; or from an operating system operating in the native code portion before the notification being transitioned across the boundary to the managed code portion; wherein: the virtual machine, the abstract layer and the operating system are parts of the programming framework executed on a single computing device; and the managed code portion in the programming framework is configured to target one or more platforms not supported in the native code portion of the programming framework; and assessing the notification at the abstraction layer as to whether the notification is to be immediately transitioned across the boundary based at least in part on a status of the virtual machine and status of system resources; and performing, at the abstraction layer, an action requiring less processing workload from the single computing device than the processing workload required to immediately transition the notification across the boundary, thereby alleviating strain of allocating resources on the single computing device in response to an immediate transition of the notification, the action being selected from the group consisting of: combining the notification with one or more notifications previously received by the abstraction layer as a group before transitioning the group comprising the notification and the one or more notifications previously received across the boundary; and discarding the notification.