Invention Grant
- Patent Title: Supporting efficient access to object properties in a dynamic object-oriented programming language
- Patent Title (中): 支持以动态面向对象编程语言高效访问对象属性
-
Application No.: US12120077Application Date: 2008-05-13
-
Publication No.: US08392881B1Publication Date: 2013-03-05
- Inventor: Kasper Verdich Lund , Lars Bak
- Applicant: Kasper Verdich Lund , Lars Bak
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Sterne, Kessler, Goldstein & Fox P.L.L.C.
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
One embodiment of the present invention provides a system that supports efficient access to object properties in a dynamic object-oriented programming language. During operation, the system receives a request to access a property for an object associated with a given map object. The system then determines a hash value using the given map object and a signature for the property, and uses the hash value to retrieve a code stub from a cache. Next, the system executes this code stub, which includes instructions that facilitate accessing the property, to access a memory field associated with the property.
Information query