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

A code and hardware technology used in the field of providing hardware support and devices for self-modifying code

Inactive Publication Date: 2019-09-27
INTEL CORP
View PDF3 Cites 0 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 to self-modifying code
  • Method and apparatus for providing hardware support to self-modifying code
  • Method and apparatus for providing hardware support to 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

Methods and apparatus for providing support for self-modifying visitor code. The device includes memory, hardware buffers and a processor. The processor is configured to convert the guest code to native code and store the converted native code equivalent to the guest code in a code cache portion of the processor. The processor is also configured to maintain a hardware buffer configured to track a corresponding location of the translated code in the code cache. The hardware buffer is updated based on respective accesses to corresponding locations in memory associated with corresponding locations of the translated code in the code cache. The processor is also configured to execute the request to modify the 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 Patents(China)
IPC IPC(8): G06F9/38G06F9/455G06F12/0802G06F9/30
CPCG06F9/45525G06F9/3017G06F9/30
Inventor M·阿布达拉K·阿武戴亚潘
Owner INTEL CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products