×

Methods and systems for evaluating bytecode in an on-demand service environment including translation of apex to bytecode

  • US 9,104,484 B2
  • Filed: 04/21/2011
  • Issued: 08/11/2015
  • Est. Priority Date: 04/21/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • executing, with one or more processors, code conforming to a first programming language in a multitenant environment, the code conforming to the first programming language having a plurality of reference types, wherein the multitenant environment includes data for multiple client entities, each identified by a tenant identifier (ID) having one of one or more users associated with the tenant ID, users of each of multiple client identities can only access data identified by a tenant ID associated with the respective client entity, and the multitenant environment is at least a hosted database provided by an entity separate from the client entities, and provides on-demand database service to the client entities wherein the code conforming to the first programming language comprises on demand platform code capable of running without client-side servers or software;

    identifying a value type reference from the plurality of reference types;

    unboxing the value type;

    performing an operation associated with the value type to generate a result;

    boxing the result;

    generating code conforming to a second programming language comprising at least the boxed result, wherein the code conforming to the second programming language comprises bytecode; and

    executing the bytecode within the multitenant environment to provide functionality corresponding to the code conforming to the first programming language.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×