×

Shared code caching for program code conversion

  • US 7,805,710 B2
  • Filed: 03/30/2004
  • Issued: 09/28/2010
  • Est. Priority Date: 07/15/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method of translating a subject code executable by a subject computing architecture into a target code executable by a second computing architecture, wherein the subject code includes at least a first program and a second program, comprising:

  • providing a first translator instance which translates the subject code of the first program into the target code including translating a first portion of the subject code into a portion of the target code;

    caching said portion of the target code into a shared code cache facility;

    providing a second translator instance which is different from the first translator instance and which translates the subject code of the second program into the target code, wherein the second translator instance operates simultaneously with the first translator instance;

    retrieving the cached portion of the target code from the shared code cache facility upon a compatibility detection between said cached portion of the target code and a second portion of the subject code in the second program, including loading the portion of the target code in the shared code cache facility into a portion of memory which is shared amongst at least the first and second translator instances; and

    ,copying at least one part of the shared code cache facility to a private portion of memory associated with the second translator instance upon modification of the at least one part of the shared code cache facility by the second translator instance.

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