JP2626450B2 - Backing store usage calculator - Google Patents

Backing store usage calculator

Info

Publication number
JP2626450B2
JP2626450B2 JP5056581A JP5658193A JP2626450B2 JP 2626450 B2 JP2626450 B2 JP 2626450B2 JP 5056581 A JP5056581 A JP 5056581A JP 5658193 A JP5658193 A JP 5658193A JP 2626450 B2 JP2626450 B2 JP 2626450B2
Authority
JP
Japan
Prior art keywords
backing store
load module
store usage
usage
initialized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5056581A
Other languages
Japanese (ja)
Other versions
JPH06250925A (en
Inventor
茂 古沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP5056581A priority Critical patent/JP2626450B2/en
Publication of JPH06250925A publication Critical patent/JPH06250925A/en
Application granted granted Critical
Publication of JP2626450B2 publication Critical patent/JP2626450B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ノーマルロードモジュ
ール(プログラムリンク時に生成されたロードモジュー
ル)が仮想空間上に展開された際のロードモジュール
(プリイニシャライズドロードモジュール)をプログラ
ム実行に先立ってライブラリ用バッキングストアに登録
しておきプログラムロード時にプリイニシャライズドロ
ードモジュールをライブラリ用バッキングストアから実
行時仮想空間(プログラム実行時に使用されるメモリお
よびバッキングストア)にロードする仮想記憶システム
(仮想記憶方式を採用する情報処理システム)に関し、
特にプログラムロード時にバッキングストア資源を獲得
する際に要求すべきバッキングストア使用量の算定を行
うバッキングストア使用量算定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a library for loading a load module (pre-initialized load module) when a normal load module (a load module generated at the time of program linking) is developed in a virtual space before executing the program. Virtual storage system (using a virtual storage system) that is registered in the backing store for use and loads the pre-initialized load module from the backing store for library to the virtual space at execution (memory and backing store used during program execution) when loading the program Information processing system)
In particular, the present invention relates to a backing store usage calculating device that calculates a backing store usage to be requested when acquiring a backing store resource at the time of loading a program.

【0002】[0002]

【従来の技術】従来、上述のような「バッキングストア
使用量の算定」は、次のような2つの方式によって行わ
れていた。
2. Description of the Related Art Conventionally, the above-mentioned "calculation of backing store usage" has been performed by the following two methods.

【0003】 第1の方式では、プログラムコンパイ
ル時に生成されたコンパイルユニット群の大きさやプロ
グラムリンク時に生成されたノーマルロードモジュール
の大きさが算出され、そのようなコンパイルユニット群
の大きさやロードモジュールの大きさに一定の余裕量が
加算されて必要なバッキングストア使用量が算定されて
いた。
In the first method, the size of a compile unit group generated at the time of compiling a program and the size of a normal load module generated at the time of program link are calculated, and the size of such a compile unit group and the size of a load module are calculated. In addition, a certain margin was added to calculate the necessary backing store usage.

【0004】なお、ノーマルロードモジュールが仮想空
間に展開される際には、ページやセグメントへの分割に
起因する分割損(ページガベージ等による損失)が発生
し、さらにページ等を管理するための新たなテーブル群
も発生するので、プログラムコンパイル時やプログラム
リンク時に算出されたコンパイルユニット群やロードモ
ジュールの大きさのみに基づくバッキングストア使用量
よりも多くのバッキングストア使用量が実際のプログラ
ム実行時に必要となるのが一般的である。このために、
上述の「一定の余裕量の加算」が行われている。
When a normal load module is developed in a virtual space, a division loss (loss due to page garbage or the like) occurs due to division into pages and segments, and a new part for managing pages and the like is generated. Table groups also occur, which requires more backing store usage during actual program execution than the backing store usage based solely on the size of the compilation units and load modules calculated at program compilation and program linking. It is general. For this,
The above-described “addition of a certain margin” is performed.

【0005】 第2の方式では、プリイニシャライズ
ドロードモジュールのライブラリ用バッキングストアか
ら実行時仮想空間へのプログラムロード時に、実際に必
要と考えられるバッキングストア使用量がJCL(Jo
b Control Language)等によって外
部から指定され、その指定によって示されるバッキング
ストア使用量が「要求すべきバッキングストア使用量」
として認定(算定)されていた。
In the second method, when a program is loaded from a library backing store of a pre-initialized load module into a runtime virtual space, the amount of backing store actually considered necessary is reduced by JCL (Jo).
b Control Language) or the like, and the backing store usage indicated by the specification is “backing store usage to be requested”
It was certified (calculated) as

【0006】[0006]

【発明が解決しようとする課題】上述した従来の技術
(バッキングストア使用量の算定に関する技術)では、
以下に示すような問題点があった。
In the above-mentioned conventional technology (technology relating to calculation of backing store usage),
There were the following problems.

【0007】 第1の方式では、バッキングストア使
用量が算定される際に加算される「一定の余裕量」を正
確に決定することが困難であるので、算定されたバッキ
ングストア使用量と実際に必要となるバッキングストア
使用量とが異なってしまい、その差異に起因して不都合
が生じる。すなわち、実際に必要となるバッキングスト
ア使用量よりも過大な算定が行われた場合にはバッキン
グストア資源の無駄が発生し、過小な算定が行われた場
合にはバッキングストア資源の不足に基づくプログラム
実行の中断が生じる。
In the first method, it is difficult to accurately determine a “certain margin” to be added when the backing store usage is calculated. The required backing store usage is different, and the difference causes inconvenience. In other words, if a calculation that is larger than the actually required backing store usage is made, backing store resources are wasted, and if a calculation that is too small is made, a program based on the shortage of backing store resources is used. Execution interruption occurs.

【0008】 第2の方式では、JCL等による外部
からのバッキングストア使用量を示す指定が必要となる
ので、その指定を行うための余分な工数が必要になる。
In the second method, since an external specification indicating the amount of backing store used by JCL or the like is required, an extra man-hour for performing the specification is required.

【0009】本発明の目的は、上述の点に鑑み、プログ
ラム実行時に必要となるバッキングストア使用量を正確
に算定することができ、必要十分な(最適な)バッキン
グストア使用量を要求してバッキングストア資源の獲得
を行うことを可能ならしめる(その際に、バッキングス
トア使用量を示す外部からの指定は不要である)バッキ
ングストア使用量算定装置を提供することにある。
SUMMARY OF THE INVENTION In view of the foregoing, it is an object of the present invention to accurately calculate a backing store usage required at the time of program execution, and to request a necessary and sufficient (optimal) backing store usage to perform backing. It is an object of the present invention to provide a backing store usage calculating device which makes it possible to acquire store resources (in this case, it is not necessary to specify the backing store usage from outside).

【0010】なお、仮想記憶システムにおいてバッキン
グストア資源の有効利用を図る従来技術の一例として、
「特開昭63−201721号(プログラムリンク方
式)」に係る特許出願がある。この従来技術は、プログ
ラムリンク時に同一属性のセグメントを連続して配置す
ることによって書換え可能なページをまとめておき、プ
ログラム実行時に書換え可能なページのためのファイル
だけをバッキングストア上に作成することによってバッ
キングストア資源の有効利用を図るものである。したが
って、この従来技術と、最適なバッキングストア使用量
の算定に基づくバッキングストア資源の有効利用を図る
本発明との間では、それらの着眼点が異なっている。
[0010] As an example of a conventional technique for effectively using a backing store resource in a virtual storage system,
There is a patent application relating to “JP-A-63-201721 (program link system)”. This conventional technique collects rewritable pages by sequentially arranging segments having the same attribute at the time of program linking, and creates only a file for rewritable pages on the backing store at the time of program execution. The purpose is to make effective use of backing store resources. Therefore, the point of view differs between this conventional technique and the present invention which aims at effective use of the backing store resources based on the calculation of the optimal backing store usage.

【0011】[0011]

【課題を解決するための手段】本発明のバッキングスト
ア使用量算定装置は、プリイニシャライズドロードモジ
ュールをライブラリ用バッキングストアから実行時仮想
空間にロードする仮想記憶システムにおいて、仮想空間
展開・バッキングストア登録手段によって仮想空間上に
展開されたプリイニシャライズドロードモジュールの大
きさに基づいて当該プリイニシャライズドロードモジュ
ールのプログラム実行時に必要となるバッキングストア
使用量を算出するバッキングストア使用量計算手段と、
このバッキングストア使用量計算手段によって算出され
たバッキングストア使用量を当該プリイニシャライズド
ロードモジュールと対応させてライブラリ用バッキング
ストア内に登録するバッキングストア使用量登録手段
と、当該プリイニシャライズドロードモジュールのライ
ブラリ用バッキングストアから実行時仮想空間へのプロ
グラムロード時(この「プログラムロード時」には「最
初のプログラムロード時」が含まれる)に当該プリイニ
シャライズドロードモジュールに対応するバッキングス
トア使用量であって前記バッキングストア使用量登録手
段によってライブラリ用バッキングストア内に登録され
たバッキングストア使用量を取得しバッキングストア資
源を獲得する際に当該バッキングストア使用量を要求す
るバッキングストア使用量要求手段とを有する。
SUMMARY OF THE INVENTION A backing store usage calculating device according to the present invention is a virtual storage system for loading a pre-initialized load module from a library backing store into a virtual space at runtime. Backing store usage calculating means for calculating the backing store usage required when executing the program of the pre-initialized load module based on the size of the pre-initialized load module developed on the virtual space by the means,
Backing store usage registering means for registering the backing store usage calculated by the backing store usage calculating means in the library backing store in association with the pre-initialized load module, and a library of the pre-initialized load module When loading a program from the backing store to the run-time virtual space (this "
(When the first program is loaded)) , the backing store usage corresponding to the pre-initialized load module and the backing store usage registered in the library backing store by the backing store usage registering means is obtained. Backing store usage requesting means for requesting the backing store usage when acquiring the backing store resource.

【0012】また、本発明のバッキングストア使用量算
定装置は、複数のプリイニシャライズドロードモジュー
ルをライブラリ用バッキングストアから実行時仮想空間
に動的にロードする仮想記憶システムにおいて、仮想空
間展開・バッキングストア登録手段によって仮想空間上
に展開された当該複数のプリイニシャライズドロードモ
ジュールの各々の大きさに基づいて当該複数のプリイニ
シャライズドロードモジュールの各々のプログラム実行
時に必要となるバッキングストア使用量を算出するバッ
キングストア使用量計算手段と、このバッキングストア
使用量計算手段によって算出された各バッキングストア
使用量を当該複数のプリイニシャライズドロードモジュ
ールの各々と対応させてライブラリ用バッキングストア
内に登録するバッキングストア使用量登録手段と、当該
複数のプリイニシャライズドロードモジュールに対する
算定対象ロードモジュール名指定を外部から受け取るロ
ードモジュール名指定入力手段と、当該複数のプリイニ
シャライズドロードモジュールのライブラリ用バッキン
グストアから実行時仮想空間への動的なプログラムロー
ド時(この「プログラムロード時」には「最初のプログ
ラムロード時」が含まれる)に前記ロードモジュール名
指定入力手段によって入力された算定対象ロードモジュ
ール名指定によって特定されるいくつかのプリイニシャ
ライズドロードモジュールに対応するバッキングストア
使用量であって前記バッキングストア使用量登録手段に
よってライブラリ用バッキングストア内に登録されたい
くつかのバッキングストア使用量を取得しバッキングス
トア資源を獲得する際に当該いくつかのバッキングスト
ア使用量の加算量を要求するバッキングストア使用量要
求手段とを有する。
Further, the backing store usage calculating apparatus of the present invention is a virtual space development / backing store in a virtual storage system for dynamically loading a plurality of pre-initialized load modules from a library backing store into a virtual space at the time of execution. Calculating a backing store usage required when each of the plurality of pre-initialized load modules is executed on the basis of the size of each of the plurality of pre-initialized load modules developed on the virtual space by the registration means; Backing store usage calculating means, and a backing store registering the backing store usage calculated by the backing store usage calculating means in the library backing store in association with each of the plurality of pre-initialized load modules. Executing from the storage store usage registering means, the load module name designation input means for receiving the designation of the load module name to be calculated for the plurality of pre-initialized load modules from the outside, and the library backing store of the plurality of pre-initialized load modules When a dynamic program is loaded into the virtual space (this "program loading"
During loading of a ram) , the backing store usage corresponding to some pre-initialized load modules specified by the calculation target load module name input by the load module name specification input means at the time of loading the backing store. A backing store usage amount that obtains some backing store usage amounts registered in the library backing store by the usage amount registration unit and requests an additional amount of the backing store usage amounts when acquiring backing store resources. Request means.

【0013】[0013]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0014】図1は、本発明のバッキングストア使用量
算定装置の第1の実施例を含む仮想記憶システムの構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a virtual storage system including a first embodiment of a backing store usage calculating device according to the present invention.

【0015】この仮想記憶システムは、仮想空間展開・
バッキングストア登録手段1と、ロードモジュールロー
ド手段4と、仮想空間7と、ライブラリ用バッキングス
トア8と、本実施例のバッキングストア使用量算定装置
とを含んで構成されている。
This virtual storage system is a virtual space development /
It comprises a backing store registration means 1, a load module loading means 4, a virtual space 7, a library backing store 8, and a backing store usage calculating device of this embodiment.

【0016】仮想空間7は、メモリおよびバッキングス
トアによって構成されており(バッキングストアとして
はライブラリ用バッキングストア8が使用されるのが一
般的である)、プログラム実行時に使用される仮想空間
である実行時仮想空間と同様のものである。すなわち、
実行時仮想空間に擬制される仮想空間7上にノーマルロ
ードモジュール(プログラムリンク時に生成されたロー
ドモジュール)を展開してプリイニシャライズドロード
モジュール(仮想空間上に展開された際のロードモジュ
ール)を生成するために、仮想空間7は設けられてい
る。
The virtual space 7 is constituted by a memory and a backing store (a backing store for a library is generally used as the backing store), and is an execution space which is a virtual space used when executing a program. It is similar to spatiotemporal space. That is,
A normal load module (a load module generated at the time of program linking) is expanded on a virtual space 7 simulated as a virtual space at the time of execution to generate a pre-initialized load module (a load module when expanded on the virtual space). For this purpose, a virtual space 7 is provided.

【0017】ライブラリ用バッキングストア8は、プリ
イニシャライズドロードモジュールが登録されるロード
モジュール登録領域81と、ロードモジュール登録領域
81に対応するバッキングストア使用量管理テーブル8
2(ロードモジュール登録領域81に登録されているプ
リイニシャライズドロードモジュールがプログラム実行
時に必要とするバッキングストア使用量が登録されるテ
ーブル)とを格納している。図示していないが、ライブ
ラリ用バッキングストア8には、ロードモジュール登録
領域81およびバッキングストア使用量管理テーブル8
2以外のロードモジュール登録領域およびバッキングス
トア使用量管理テーブルも存在しうる。
The library backing store 8 includes a load module registration area 81 in which a pre-initialized load module is registered, and a backing store usage management table 8 corresponding to the load module registration area 81.
2 (a table in which the backing store usage required by the pre-initialized load module registered in the load module registration area 81 when executing the program is registered). Although not shown, the library backing store 8 includes a load module registration area 81 and a backing store usage management table 8.
There may be a load module registration area other than 2 and a backing store usage management table.

【0018】本実施例のバッキングストア使用量算定装
置は、バッキングストア使用量計算手段2と、バッキン
グストア使用量登録手段3と、バッキングストア使用量
要求手段5とを含んで構成されている。
The backing store usage calculating device of this embodiment includes a backing store usage calculating means 2, a backing store usage registering means 3, and a backing store usage requesting means 5.

【0019】なお、図1中の「◎」は、各手段の動作に
よって形成される一連の処理の流れの「開始」と「終
了」とを示すためのものである(後述する図2において
も同様)。
Note that “◎” in FIG. 1 indicates “start” and “end” of a series of processing flows formed by the operation of each means (also in FIG. 2 described later). Similar).

【0020】次に、図1を参照して、本実施例のバッキ
ングストア使用量算定装置を含む仮想記憶システムの動
作について説明する。
Next, with reference to FIG. 1, the operation of the virtual storage system including the backing store usage calculating device of this embodiment will be described.

【0021】第1に、ライブラリ用バッキングストア8
へのプリイニシャライズドロードモジュールの登録時の
動作について説明する。
First, the library backing store 8
The operation at the time of registering the pre-initialized load module into the server will be described.

【0022】仮想空間展開・バッキングストア登録手段
1は、ロードモジュールライブラリ(図示せず)内のノ
ーマルロードモジュールを仮想空間7上に展開する。
The virtual space development / backing store registration means 1 develops a normal load module in a load module library (not shown) in the virtual space 7.

【0023】また、仮想空間展開・バッキングストア登
録手段1は、仮想空間7上に展開されたロードモジュー
ルであるプリイニシャライズドロードモジュールを、ラ
イブラリ用バッキングストア8内のロードモジュール登
録領域81に登録する。
The virtual space development / backing store registration means 1 registers a pre-initialized load module which is a load module developed on the virtual space 7 in a load module registration area 81 in the library backing store 8. .

【0024】なお、仮想空間展開・バッキングストア登
録手段1による以上の処理は、従来技術における処理と
同様のものである。
The above processing by the virtual space development / backing store registration means 1 is the same as the processing in the prior art.

【0025】バッキングストア使用量算定装置内のバッ
キングストア使用量計算手段2は、仮想空間展開・バッ
キングストア登録手段1によって呼び出され、仮想空間
7上に展開されたプリイニシャライズドロードモジュー
ルの大きさに基づいて当該プリイニシャライズドロード
モジュールがプログラム実行時に必要とするバッキング
ストア使用量を算出する。この算出は、仮想空間7上に
展開されたプリイニシャライズドロードモジュールの大
きさに基づいて行われるので、ページガベージ等の発生
やページ等を管理するための新たなテーブル群の発生を
も考慮されたものになる。このようにして算出されたバ
ッキングストア使用量は当該プリイニシャライズドロー
ドモジュールのためのバッキングストア資源を獲得する
際に要求されるバッキングストア使用量の算定量となる
ので、「バッキングストア使用量の正確な算定」が可能
となる。
The backing store usage calculating means 2 in the backing store usage calculating device is called by the virtual space expanding / backing store registering means 1 to determine the size of the pre-initialized load module expanded in the virtual space 7. Based on this, the amount of backing store used by the pre-initialized load module required at the time of executing the program is calculated. Since this calculation is performed based on the size of the pre-initialized load module developed in the virtual space 7, generation of a page garbage and the like and generation of a new table group for managing pages and the like are also considered. It becomes something. The backing store usage calculated in this way is the amount of backing store usage required when acquiring the backing store resource for the pre-initialized load module. Calculation "is possible.

【0026】バッキングストア使用量算定装置内のバッ
キングストア使用量登録手段3は、バッキングストア使
用量計算手段2によって算出されたバッキングストア使
用量を、ロードモジュール登録領域81に対応するバッ
キングストア使用量管理テーブル82に登録する。
The backing store usage registering means 3 in the backing store usage calculating device stores the backing store usage calculated by the backing store usage calculating means 2 in the backing store usage management corresponding to the load module registration area 81. Register in the table 82.

【0027】第2に、ライブラリ用バッキングストア8
内のロードモジュール登録領域81に登録されているプ
リイニシャライズドロードモジュールを実行時仮想空間
(図示せず)にロードする際の動作について説明する。
Second, library backing store 8
The operation when loading the pre-initialized load module registered in the load module registration area 81 in the virtual space (not shown) at the time of execution will be described.

【0028】ロードモジュールロード手段4は、ロード
モジュール登録領域81中のプリイニシャライズドロー
ドモジュールのプログラムロード時に、バッキングスト
ア使用量算定装置内のバッキングストア使用量要求手段
5を呼び出す。
The load module loading means 4 calls the backing store usage requesting means 5 in the backing store usage calculating device when loading the program of the pre-initialized load module in the load module registration area 81.

【0029】バッキングストア使用量要求手段5は、プ
ログラムロードの対象となるプリイニシャライズドロー
ドモジュールが登録されているロードモジュール登録領
域81に対応するバッキングストア使用量管理テーブル
82中のバッキングストア使用量(上述のようにして正
確に算定されたバッキングストア使用量)を取得(参
照)し、当該プリイニシャライズドロードモジュールの
ためのバッキングストア資源を獲得する際にそのバッキ
ングストア使用量を要求する。
The backing store usage request means 5 stores the backing store usage (in the backing store usage management table 82 corresponding to the load module registration area 81 in which the pre-initialized load module to be loaded with the program is registered). Obtain (refer to) the backing store usage amount accurately calculated as described above, and request the backing store usage amount when acquiring the backing store resource for the pre-initialized load module.

【0030】これによって、当該プリイニシャライズド
ロードモジュールのためのバッキングストア資源の獲得
に際して、最適な(過大でもなく過小でもなく必要十分
な)バッキングストア使用量を要求することが可能とな
る。しかも、その際に、バッキングストア使用量を示す
外部からの指定は不要である。
As a result, when acquiring the backing store resource for the pre-initialized load module, it is possible to request an optimum (not too large, not too small, and sufficient necessary) backing store usage. Moreover, at this time, there is no need to specify the backing store usage from outside.

【0031】なお、ロードモジュールロード手段4は、
上述の要求に基づいて獲得されたバッキングストアを有
する実行時仮想空間にロードモジュール登録領域81中
のプリイニシャライズドロードモジュールをロードす
る。
The load module loading means 4
The pre-initialized load module in the load module registration area 81 is loaded into the runtime virtual space having the backing store obtained based on the above request.

【0032】図2は、本発明のバッキングストア使用量
算定装置の第2の実施例を含む仮想記憶システムの構成
を示すブロック図である。なお、図1中の構成要素と対
応する図2中の構成要素については、図1中の符号と同
一の符号を使用している。ただし、同一の符号で示され
る図1中の構成要素と図2中の構成要素とが全く同じ処
理を行うわけではない。
FIG. 2 is a block diagram showing the configuration of a virtual storage system including a second embodiment of the backing store usage calculation device of the present invention. The components in FIG. 2 that correspond to the components in FIG. 1 are denoted by the same reference numerals as those in FIG. However, the components in FIG. 1 and the components in FIG. 2 denoted by the same reference numerals do not always perform the same processing.

【0033】この仮想記憶システムは、仮想空間展開・
バッキングストア登録手段1と、ロードモジュールロー
ド手段4と、仮想空間7と、ライブラリ用バッキングス
トア8と、本実施例のバッキングストア使用量算定装置
とを含んで構成されている。
This virtual storage system is a virtual space development and
It comprises a backing store registration means 1, a load module loading means 4, a virtual space 7, a library backing store 8, and a backing store usage calculating device of this embodiment.

【0034】第1の実施例のバッキングストア使用量算
定装置を含む仮想記憶システムと同様に、本実施例のバ
ッキングストア使用量算定装置を含む仮想記憶システム
においても、実行時仮想空間に擬制される仮想空間7上
にノーマルロードモジュールを展開してプリイニシャラ
イズドロードモジュールを生成するために、仮想空間7
は設けられている。
Like the virtual storage system including the backing store usage calculating device of the first embodiment, the virtual storage system including the backing store usage calculating device of the present embodiment is simulated in the virtual space at the time of execution. In order to generate a pre-initialized load module by expanding a normal load module on the virtual space 7,
Is provided.

【0035】ライブラリ用バッキングストア8は、プリ
イニシャライズドロードモジュールが登録されるロード
モジュール登録領域81−1,81−2,…,81−n
(nは2以上の正整数)と、ロードモジュール登録領域
81−1,81−2,…,81−nに対応するバッキン
グストア使用量管理テーブル82−1,82−2,…,
82−n(ロードモジュール登録領域81−1,81−
2,…,81−nに登録されているプリイニシャライズ
ドロードモジュールがプログラム実行時に必要とするバ
ッキングストア使用量が登録されるテーブル)とを格納
している。図示していないが、ライブラリ用バッキング
ストア8には、ロードモジュール登録領域81−1,8
1−2,…,81−nおよびバッキングストア使用量管
理テーブル82−1,82−2,…,82−n以外のロ
ードモジュール登録領域およびバッキングストア使用量
管理テーブルも存在しうる。
The library backing store 8 includes load module registration areas 81-1, 81-2,..., 81-n in which pre-initialized load modules are registered.
(N is a positive integer of 2 or more) and backing store usage management tables 82-1, 82-2,... Corresponding to the load module registration areas 81-1, 81-2,.
82-n (load module registration areas 81-1, 81-
2,..., 81-n are stored in the backing store used by the pre-initialized load module when the program is executed. Although not shown, the library backing store 8 has load module registration areas 81-1, 8
, 81-n and the backing store usage management tables 82-1, 82-2,..., 82-n, there may be load module registration areas and backing store usage management tables.

【0036】本実施例のバッキングストア使用量算定装
置は、バッキングストア使用量計算手段2と、バッキン
グストア使用量登録手段3と、バッキングストア使用量
要求手段5と、ロードモジュール名指定入力手段6とを
含んで構成されている。
The backing store usage calculating device of this embodiment comprises a backing store usage calculating means 2, a backing store usage registering means 3, a backing store usage requesting means 5, a load module name designation input means 6, It is comprised including.

【0037】次に、図2を参照して、本実施例のバッキ
ングストア使用量算定装置を含む仮想記憶システムの動
作について説明する。
Next, with reference to FIG. 2, the operation of the virtual storage system including the backing store usage calculating device of this embodiment will be described.

【0038】本実施例のバッキングストア使用量算定装
置を含む仮想記憶システムでは、動的リンクやオーバレ
イ等を実現するために、複数(n個)のプリイニシャラ
イズドロードモジュールがライブラリ用バッキングスト
ア8から実行時仮想空間(図示せず)に動的にロードさ
れるものとする。
In the virtual storage system including the backing store usage calculating device of the present embodiment, a plurality (n) of pre-initialized load modules are transferred from the library backing store 8 in order to realize dynamic linking and overlay. It shall be dynamically loaded into a run-time virtual space (not shown).

【0039】第1に、ライブラリ用バッキングストア8
へのプリイニシャライズドロードモジュールの登録時の
動作について説明する。
First, the library backing store 8
The operation at the time of registering the pre-initialized load module into the server will be described.

【0040】この時の動作は、上述の第1の実施例にお
ける動作と同様である。ただし、本実施例では動的リン
ク等に基づく動的なプログラムロードの対象となる複数
のプリイニシャライズドロードモジュールがライブラリ
用バッキングストア8内のロードモジュール登録領域8
1−1,81−2,…,81−nに登録され、それらに
対応する複数のバッキングストア使用量がロードモジュ
ール登録領域81−1,81−2,…,81−nに対応
するバッキングストア使用量管理テーブル82−1,8
2−2,…,82−nに登録される。
The operation at this time is the same as the operation in the first embodiment. However, in this embodiment, a plurality of pre-initialized load modules to be dynamically loaded based on a dynamic link or the like are stored in the load module registration area 8 in the library backing store 8.
, 81-n, and a plurality of backing store usages corresponding thereto are stored in the backing stores corresponding to the load module registration areas 81-1, 81-2,..., 81-n. Usage amount management tables 82-1, 8
2-2,..., 82-n.

【0041】第2に、ライブラリ用バッキングストア8
内のロードモジュール登録領域81−1,81−2,
…,81−nに登録されている複数のプリイニシャライ
ズドロードモジュールを実行時仮想空間に動的にロード
する際の動作について説明する。
Second, library backing store 8
, Load module registration areas 81-1, 81-2,
, 81-n, the operation when dynamically loading a plurality of pre-initialized load modules into the virtual space at the time of execution will be described.

【0042】ロードモジュールロード手段4は、複数の
プリイニシャライズドロードモジュールの動的なプログ
ラムロード時に、バッキングストア使用量算定装置内の
バッキングストア使用量要求手段5を呼び出す。
The load module load means 4 calls the backing store usage request means 5 in the backing store usage calculation device when a plurality of pre-initialized load modules are dynamically loaded.

【0043】バッキングストア使用量要求手段5は、ロ
ードモジュール名指定入力手段6に対して、後述する
「算定対象ロードモジュール名指定」を外部から入力す
るように促す。
The backing store usage requesting means 5 prompts the load module name designation input means 6 to externally input a "calculation target load module name designation" described later.

【0044】ロードモジュール名指定入力手段6は、
「同時にロードされるプリイニシャライズドロードモジ
ュール群の組み合わせの中で最大のバッキングストア使
用量を必要とするであろうと考えられる組み合わせに含
まれるプリイニシャライズドロードモジュールの識別情
報(ロードモジュール名)、すなわち要求すべきバッキ
ングストア使用量の算定対象となるプリイニシャライズ
ドロードモジュールのロードモジュール名」を示す算定
対象ロードモジュール名指定を外部から受け取る。ここ
で、「外部から」の入力というのは、利用者からの直接
的な指示や、JCLによる入力等を意味する。
The load module name designation input means 6
“Identification information (load module name) of a pre-initialized load module included in a combination that is likely to require the largest backing store usage among combinations of pre-initialized load modules that are loaded simultaneously, that is, A load module name designation indicating "the load module name of the pre-initialized load module to be calculated for the backing store usage to be requested" is externally received. Here, the input “from outside” means a direct instruction from the user, an input by the JCL, or the like.

【0045】さらに、ロードモジュール名指定入力手段
6は、入力した算定対象ロードモジュール名指定をバッ
キングストア使用量要求手段5に渡す。
Further, the load module name specification input means 6 passes the input calculation target load module name specification to the backing store use amount requesting means 5.

【0046】バッキングストア使用量要求手段5は、算
定対象ロードモジュール名指定によって特定されるいく
つかのプリイニシャライズドロードモジュールを格納す
るいくつかのロードモジュール登録領域(ロードモジュ
ール登録領域81−1,81−2,…,81−nの中の
いくつか)に対応するいくつかのバッキングストア使用
量管理テーブル(バッキングストア使用量管理テーブル
82−1,82−2,…,82−nの中のいくつか)に
登録されているいくつかのバッキングストア使用量を取
得(参照)し、バッキングストア資源を獲得する際にそ
れらのバッキングストア使用量の加算量を要求する。
The backing store usage requesting means 5 includes several load module registration areas (load module registration areas 81-1 and 81-1) for storing some pre-initialized load modules specified by the calculation target load module name designation. ,..., 81-n) (some of the backing store usage management tables 82-1, 82-2,..., 82-n). ) Is acquired (referenced) and the amount of backing store usage is requested when acquiring backing store resources.

【0047】これによって、動的リンク等を実現するた
めに複数のプリイニシャライズドロードモジュールの動
的なプログラムロード(ライブラリ用バッキングストア
8から実行時仮想空間へのプログラムロード)が行われ
る場合にも、当該複数のプリイニシャライズドロードモ
ジュールのためのバッキングストア資源の獲得に際し
て、プログラム実行時に必要となるバッキングストア使
用量を正確に算定することができ、最適なバッキングス
トア使用量を要求することが可能になる。
Thus, even when a dynamic program load of a plurality of pre-initialized load modules (a program load from the library backing store 8 to the execution-time virtual space) is performed to realize a dynamic link or the like. In obtaining the backing store resources for the plurality of pre-initialized load modules, it is possible to accurately calculate the backing store usage required when executing the program, and to request the optimum backing store usage. become.

【0048】[0048]

【発明の効果】以上説明したように本発明は、プリイニ
シャライズドロードモジュールのライブラリ用バッキン
グストアへの登録時に当該プリイニシャライズドロード
モジュールが必要とするバッキングストア使用量を算出
し、そのバッキングストア使用量を当該プリイニシャラ
イズドロードモジュールに対応させてライブラリ用バッ
キングストアに登録しておき、ライブラリ用バッキング
ストアから実行時仮想空間への当該プリイニシャライズ
ドロードモジュールのプログラムロード時にそのバッキ
ングストア使用量を取得(参照)することにより、プロ
グラム実行時に必要となるバッキングストア使用量を正
確に算定することができ、必要十分な(最適な)バッキ
ングストア使用量を要求してバッキングストア資源の獲
得を行うことができ、仮想記憶システムにおけるバッキ
ングストア資源の有効利用が可能になる(バッキングス
トア資源の不足に起因するプログラム実行の中断も減少
する)という効果がある。付言すると、この効果は、当
該プリイニシャライズドロードモジュールに係るプログ
ラムの最初の実行時点から得られる効果である。
As described above, according to the present invention, when a pre-initialized load module is registered in a library backing store, the amount of backing store used by the pre-initialized load module is calculated, and the backing store usage is calculated. Register the amount in the library backing store corresponding to the pre-initialized load module, and acquire the backing store usage when loading the pre-initialized load module program from the library backing store to the runtime virtual space By performing (referencing), it is possible to accurately calculate the amount of backing store usage required at the time of program execution, and to obtain a necessary and sufficient (optimal) backing store usage and acquire backing store resources. so , There is an effect that it is possible to effectively utilize the backing store resources in a virtual storage system (also reduced interrupting program execution due to lack of backing store resources). In addition, this effect is
A program related to the pre-initialized load module
This is the effect obtained from the first execution of the ram.

【0049】また、バッキングストア使用量を示す外部
からの指定を必要としなくなるので、その指定を行うた
めの余分な工数が不要になるという効果がある。
Further, since there is no need to specify the backing store usage from the outside, there is an effect that an extra man-hour for specifying the backing store is not required.

【0050】さらに、算定対象ロードモジュール名指定
の入力さえ行えば、動的リンク等を実現するための複数
のプリイニシャライズドロードモジュールの動的なプロ
グラムロードが行われる場合にも、最適なバッキングス
トア使用量を要求してバッキングストア資源の獲得を行
うことができるという効果がある。なお、この場合には
外部から算定対象ロードモジュール名指定を入力するこ
とが必要になるが、いくつかのプリイニシャライズドロ
ードモジュールのバッキングストア使用量の加算量を示
す指定を行うための工数に比べて算定対象ロードモジュ
ール名指定を行うための工数は一般的に少なくてすむ
(例えば、ロードモジュール名を有する算定対象ロード
モジュール名指定を示すJCLを作成するための工数
は、バッキングストア使用量の加算量を有する指定を示
すJCLを作成するための工数よりも少ないことが常で
ある)ので、上述の効果は有意である。
Further, even if the designation of the load module name to be calculated is input, even if the dynamic loading of a plurality of pre-initialized load modules for realizing a dynamic link or the like is performed, the optimum backing store is obtained. There is an effect that the backing store resource can be obtained by requesting the usage amount. In this case, it is necessary to input the name of the load module to be calculated from the outside.However, compared to the man-hour to specify the amount of backing store usage of some pre-initialized load modules, In general, the number of steps required to specify the load module name to be calculated is small (for example, the number of steps to create the JCL indicating the load module name specification having the load module name is calculated by adding the backing store usage. The number of steps is usually smaller than the number of steps for creating a JCL indicating a designation having an amount), so that the above-described effect is significant.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のバッキングストア使用量算定装置の第
1の実施例を含む仮想記憶システムの構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a virtual storage system including a first embodiment of a backing store usage calculating device of the present invention.

【図2】本発明のバッキングストア使用量算定装置の第
2の実施例を含む仮想記憶システムの構成を示すブロッ
ク図である。
FIG. 2 is a block diagram illustrating a configuration of a virtual storage system including a second embodiment of the backing store usage calculation device of the present invention.

【符号の説明】[Explanation of symbols]

1 仮想空間展開・バッキングストア登録手段 2 バッキングストア使用量計算手段 3 バッキングストア使用量登録手段 4 ロードモジュールロード手段 5 バッキングストア使用量要求手段 6 ロードモジュール名指定入力手段 7 仮想空間 8 ライブラリ用バッキングストア 81,81−1,81−2,…,81−n ロードモジ
ュール登録領域 82,82−1,82−2,…,82−n バッキング
ストア使用量管理テーブル
1 virtual space development / backing store registration means 2 backing store usage calculation means 3 backing store usage registration means 4 load module loading means 5 backing store usage request means 6 load module name designation input means 7 virtual space 8 library backing store , 81-n Load module registration area 82, 82-1, 82-2, ..., 82-n Backing store usage management table

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プリイニシャライズドロードモジュール
をライブラリ用バッキングストアから実行時仮想空間に
ロードする仮想記憶システムにおいて、 仮想空間展開・バッキングストア登録手段によって仮想
空間上に展開されたプリイニシャライズドロードモジュ
ールの大きさに基づいて当該プリイニシャライズドロー
ドモジュールのプログラム実行時に必要となるバッキン
グストア使用量を算出するバッキングストア使用量計算
手段と、 このバッキングストア使用量計算手段によって算出され
たバッキングストア使用量を当該プリイニシャライズド
ロードモジュールと対応させてライブラリ用バッキング
ストア内に登録するバッキングストア使用量登録手段
と、 当該プリイニシャライズドロードモジュールのライブラ
リ用バッキングストアから実行時仮想空間へのプログラ
ムロード時に、当該プリイニシャライズドロードモジュ
ールに対応するバッキングストア使用量であって前記バ
ッキングストア使用量登録手段によってライブラリ用バ
ッキングストア内に登録されたバッキングストア使用量
を取得し、バッキングストア資源を獲得する際に当該バ
ッキングストア使用量を要求するバッキングストア使用
量要求手段とを有することを特徴とするバッキングスト
ア使用量算定装置。
1. A virtual storage system for loading a pre-initialized load module from a backing store for a library into a virtual space at the time of execution, wherein the pre-initialized load module expanded on the virtual space by virtual space expansion / backing store registration means. Backing store usage calculating means for calculating a backing store usage required when executing the program of the pre-initialized load module based on the size; and backing store usage calculated by the backing store usage calculating means. Backing store usage registration means for registering in the library backing store in association with the pre-initialized load module, and a library backing store for the pre-initialized load module When the program is loaded into the runtime virtual space, the backing store usage corresponding to the pre-initialized load module and the backing store usage registered in the library backing store by the backing store usage registering means are obtained. Backing store usage calculating means for requesting the backing store usage when acquiring the backing store resource.
【請求項2】 複数のプリイニシャライズドロードモジ
ュールをライブラリ用バッキングストアから実行時仮想
空間に動的にロードする仮想記憶システムにおいて、 仮想空間展開・バッキングストア登録手段によって仮想
空間上に展開された当該複数のプリイニシャライズドロ
ードモジュールの各々の大きさに基づいて当該複数のプ
リイニシャライズドロードモジュールの各々のプログラ
ム実行時に必要となるバッキングストア使用量を算出す
るバッキングストア使用量計算手段と、 このバッキングストア使用量計算手段によって算出され
た各バッキングストア使用量を当該複数のプリイニシャ
ライズドロードモジュールの各々と対応させてライブラ
リ用バッキングストア内に登録するバッキングストア使
用量登録手段と、 当該複数のプリイニシャライズドロードモジュールに対
する算定対象ロードモジュール名指定を外部から受け取
るロードモジュール名指定入力手段と、 当該複数のプリイニシャライズドロードモジュールのラ
イブラリ用バッキングストアから実行時仮想空間への動
的なプログラムロード時に、前記ロードモジュール名指
定入力手段によって入力された算定対象ロードモジュー
ル名指定によって特定されるいくつかのプリイニシャラ
イズドロードモジュールに対応するバッキングストア使
用量であって前記バッキングストア使用量登録手段によ
ってライブラリ用バッキングストア内に登録されたいく
つかのバッキングストア使用量を取得し、バッキングス
トア資源を獲得する際に当該いくつかのバッキングスト
ア使用量の加算量を要求するバッキングストア使用量要
求手段とを有することを特徴とするバッキングストア使
用量算定装置。
2. A virtual storage system for dynamically loading a plurality of pre-initialized load modules from a library backing store into a virtual space at runtime at the time of execution. Backing store usage calculating means for calculating, based on the size of each of the plurality of pre-initialized load modules, a backing store usage required for executing each program of the plurality of pre-initialized load modules; Backing store usage registering means for registering each backing store usage calculated by the usage calculating means in the library backing store in association with each of the plurality of pre-initialized load modules; and A load module name specification input means for externally receiving a calculation target load module name specification for the initialized load module, and when dynamically loading a program from the backing store for libraries of the plurality of pre-initialized load modules to the execution-time virtual space. A backing store usage corresponding to some pre-initialized load modules specified by the calculation target load module name input by the load module name specification inputting means, and A backing store usage that obtains some backing store usage registered in the backing store and requests an additional amount of the backing store usage when acquiring backing store resources. A backing store usage calculating device, comprising: a volume requesting means.
JP5056581A 1993-02-22 1993-02-22 Backing store usage calculator Expired - Fee Related JP2626450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5056581A JP2626450B2 (en) 1993-02-22 1993-02-22 Backing store usage calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5056581A JP2626450B2 (en) 1993-02-22 1993-02-22 Backing store usage calculator

Publications (2)

Publication Number Publication Date
JPH06250925A JPH06250925A (en) 1994-09-09
JP2626450B2 true JP2626450B2 (en) 1997-07-02

Family

ID=13031140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5056581A Expired - Fee Related JP2626450B2 (en) 1993-02-22 1993-02-22 Backing store usage calculator

Country Status (1)

Country Link
JP (1) JP2626450B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62194559A (en) * 1986-02-21 1987-08-27 Nec Corp Memory scheduling system of program in virtual storage system

Also Published As

Publication number Publication date
JPH06250925A (en) 1994-09-09

Similar Documents

Publication Publication Date Title
US6862729B1 (en) Profile-driven data layout optimization
US7971182B1 (en) Application environment specifications for provisioning application specific runtime environments using undefined symbols
US7107579B2 (en) Preserving program context when adding probe routine calls for program instrumentation
US6877163B1 (en) Method and system for dynamic proxy classes
US7418699B2 (en) Method and system for performing link-time code optimization without additional code analysis
CN100378657C (en) Method and device for improving call speed of JAVA method
US9135039B2 (en) Transferring objects between virtual machines
US6175935B1 (en) Software debugging method and recording medium to which debugging program has been recorded
US6968543B2 (en) Information processing apparatus
US20030079210A1 (en) Integrated register allocator in a compiler
US7240176B2 (en) Apparatus and methods for placing a managed heap
CA2245133A1 (en) Language manager interface
US20050055678A1 (en) Method and apparatus for managing software in computer system using virtual machine
JP2626450B2 (en) Backing store usage calculator
US6134708A (en) Program compilation execution system
US6275985B1 (en) Method and apparatus for developing an application that implements garbage collection efficiently by combining proxy objects with compiler support
JPH01118931A (en) Program conversion system
EP1889158B1 (en) Method and apparatus for combined execution of native code and target code during program code conversion
JP3682050B2 (en) Embedded software development equipment
JP3431568B2 (en) Program conversion device, program conversion method, and program recording medium
JP4149624B2 (en) Object computer system
US11119743B1 (en) Build time optimization using thread object variables
JP3693311B2 (en) Distributed processing system
JPH02140825A (en) Method for processing rearrangement of program
JPH10240581A (en) Cpu time measuring instrument

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees