×

System and method for accessing data objects via remote references

  • US 9,378,526 B2
  • Filed: 03/02/2012
  • Issued: 06/28/2016
  • Est. Priority Date: 03/02/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, by a first machine, from an application executing on a second machine, a request for creating a data object and a remote reference to the data object;

    in response to the request, creating, by the first machine, the data object;

    generating a ticket that references the data object;

    creating, by the first machine, a proxy data object based on the ticket, wherein the proxy data object forwards calls received by the proxy data object to the data object using the ticket;

    creating, by the first machine, a remote reference comprising a wrapper corresponding to the proxy data object, the remote reference further comprising at least one property of the data object, wherein the at least one property is accessible via the remote reference without accessing the data object via the proxy data object;

    transmitting the remote reference from the first machine to the application executing on the second machine;

    receiving, by the first machine, from the application, a request to evaluate an expression that includes the remote reference;

    accessing, by the first machine, at least one element included in the data object via the remote reference;

    evaluating, by the first machine, the expression based on the at least one element to produce a result;

    transmitting the result from the first machine to the application;

    determining, after the proxy data object is garbage collected, that no other proxy data objects reference the data object; and

    responsive to determining that no other proxy data objects reference the data object, de-allocating a portion of memory allocated to the data object.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×