Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for providing hardware support for self-modifying code

A self-modification, code technology, applied in the direction of machine execution device, instrument, operation command conversion, etc.

Inactive Publication Date: 2017-05-31
INTEL CORP
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Detection of GCM can be challenging due to the extremes that can occur

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
  • Method and apparatus for providing hardware support for self-modifying code
  • Method and apparatus for providing hardware support for self-modifying code
  • Method and apparatus for providing hardware support for self-modifying code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In the following detailed description, numerous specific details are given, such as specific method sequences, structures, elements, and connections. It is to be understood, however, that these and other specific details are not required to practice the embodiments of the present invention. In other instances, well-known structures, elements, or connections are omitted or not described in particular detail in order not to unnecessarily obscure the description.

[0016] References in the specification to "one embodiment" or "an embodiment" are intended to mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. The appearances of the phrase "in one embodiment" in various places within the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Note that any cl...

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

A method and apparatus for providing support for self modifying guest code. The apparatus includes a memory, a hardware buffer, and a processor. The processor is configured to convert guest code to native code and store converted native code equivalent of the guest code into a code cache portion of the processor. The processor is further configured to maintain the hardware buffer configured for tracking respective locations of converted code in a code cache. The hardware buffer is updated based a respective access to a respective location in the memory associated with a respective location of converted code in the code cache. The processor is further configured to perform a request to modify a memory location after accessing the hardware buffer.

Description

[0001] Cross References to Related Applications [0002] This application claims the benefit of commonly owned prior parent patent application U.S. Serial No. 61 / 991,951, filed May 12, 2014, entitled "METHOD AND APPARATUS FORPROVIDING HARDWARE SUPPORT FOR SELF MODIFYING CODE," Attorney Docket No. SMII-207.A Priorities and Benefits, the entire contents of which are hereby incorporated by reference. Background technique [0003] Self-modifying code (SMC) is an optimization technique in which some software code modifies part of itself before execution. The SMC can be used in just-in-time compilation (JIT) compilation systems, such as using the Java programming language. In systems using transcoding, self-modification of guest code presents specific problems, since guest code modification (GCM) must be detected and the corresponding transpiled trace in the code cache must be invalidated or invalidated based on the new code. regeneration. [0004] Detection of GCM can be challe...

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 Applications(China)
IPC IPC(8): G06F9/38G06F9/45
CPCG06F9/45525G06F9/3017G06F9/30
Inventor M·阿布达拉K·阿武戴亚潘
Owner INTEL CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products