Supercharge Your Innovation With Domain-Expert AI Agents!

code caching system

A technology of caching system and code, applied in the field of source code, can solve problems such as long time

Active Publication Date: 2019-08-16
GOOGLE LLC
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the code must be compiled every time the user accesses the resource, it can take a long time for each compilation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • code caching system
  • code caching system
  • code caching system

Examples

Experimental program
Comparison scheme
Effect test

other Embodiment approach

[0106] Other implementations use removable storage devices (eg, floppy disks, flash drives, and their corresponding disk drives) as persistent storage 502 . Like the persistent storage device 502, the system memory 504 is a read-write memory device. However, unlike storage device 502, system memory 504 is a volatile read-write memory such as random access memory. System memory 504 stores some of the instructions and data that the processor needs at runtime. In some implementations, the subject-disclosed processes are stored in system memory 504 , persistent storage 502 , or ROM 510 . For example, various memory units include instructions for rendering web elements according to some implementations. Processing unit 512 retrieves from these various memory units instructions to execute and data to process in order to perform the processes of some embodiments.

[0107]Bus 508 is also connected to input device interface 514 and output device interface 506 . Input device interfa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a system and method for code caching. A first indication of primary source code awaiting execution is received. The resource cache is checked against the cached data corresponding to the primary source code. After a cache miss in the resource cache, a first executable code compiled from the primary source code is obtained. Select the secondary source code referenced in this primary source code. A second executable code compiled from the selected secondary source code is obtained. The first executable code and the second executable code are serialized into serialized code. The serialization code is stored in the resource cache as cache data.

Description

technical field [0001] The subject technology relates to caching executable code, and in particular, to a method for compiling, serializing, and caching executable code and storing the cached executable code prior to execution. Source code to perform code deserialization. Background technique [0002] A virtual machine (VM) is used to execute software code after on-demand compilation (also known as Just in Time (JIT) compilation), where compilation of the code is performed immediately before the code is executed or Parts of the code are compiled on demand (eg, lazily). When code is embedded in a resource (eg, a resource within a web page), the speed with which the resource can be rendered within an application (eg, a browser) running on a client device depends on the speed at which the embedded code is executed. A user of a client device may repeatedly access the same resource within the same work session (eg, a web browser session) or across multiple independent work sess...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/41
CPCG06F8/41G06F8/44G06F9/45529G06F16/9574G06F8/4441G06F9/4488G06F8/4434G06F9/3017H04L67/568
Inventor 扬·郭丹尼尔·福格尔海姆约亨·马蒂亚斯·艾辛格
Owner GOOGLE LLC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More