METHOD FOR ADJUSTING PROGRAM STORAGE POSITION, AND RELATED APPARATUS
Disclosed in the present application are a method for adjusting a program storage position, and a related apparatus. In the method, before executing a service scenario, a computer device can preliminarily adjust the positions of functions/variables in storage areas on the basis of a predicted servic...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Disclosed in the present application are a method for adjusting a program storage position, and a related apparatus. In the method, before executing a service scenario, a computer device can preliminarily adjust the positions of functions/variables in storage areas on the basis of a predicted service scenario, and/or, during the process of executing an application service, the computer device dynamically adjusts the positions of these functions in the storage areas according to a calling situation of the functions, wherein the positions of functions/variables, which have higher frequencies in being called, can be adjusted to a high-speed storage area, and the positions of functions/variables, which have lower frequencies in being called, can be adjusted to a low-speed storage area, or the functions/variables are successively stored in a storage area according to positions and according to the magnitude of the frequencies in being called. In this way, it can be ensured that functions/variables, which have high |
---|