JP2718676B2 - Virtual memory dump processing method - Google Patents

Virtual memory dump processing method

Info

Publication number
JP2718676B2
JP2718676B2 JP62107196A JP10719687A JP2718676B2 JP 2718676 B2 JP2718676 B2 JP 2718676B2 JP 62107196 A JP62107196 A JP 62107196A JP 10719687 A JP10719687 A JP 10719687A JP 2718676 B2 JP2718676 B2 JP 2718676B2
Authority
JP
Japan
Prior art keywords
page
program
processing
dump
real
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
JP62107196A
Other languages
Japanese (ja)
Other versions
JPS63273144A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62107196A priority Critical patent/JP2718676B2/en
Publication of JPS63273144A publication Critical patent/JPS63273144A/en
Application granted granted Critical
Publication of JP2718676B2 publication Critical patent/JP2718676B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 計算機のプログラム実行中のエラー発生時の仮想記憶
の内容を保存するダンプと、中断プログラムの実行を並
行可能にする処理方法である。 エラー発生時には、そのとき存在するページに内容保
存を要することを示す表示を付け、その後直ちにプログ
ラム実行を再開する。この表示のあるページ内容は、該
プログラム実行と並行してダンプの処理をする。 この処理方法により、エラー発生時のプログラム中断
時間が極めて短くなり、計算機の利用効率を向上する。 〔産業上の利用分野〕 本発明は、計算機プログラムのエラー発生時に記憶内
容をダンプする処理方法に係り、特にダンプと中断プロ
グラムの実行とを並行可能にする処理方法に関する。 特にオンラインシステムの計算機等、多数のいわゆる
タスクが並行して実行されている場合に、オンライン処
理中の応用プログラムのタスクで何等かのプログラム上
のエラーが検出されると、そのタスクの処理は一般に中
断せざるを得ないが、並行して処理されているタスクは
継続が可能であるので、速やかに実行を継続することが
望まれる。他方、エラー発生時の記憶空間の内容は、エ
ラー原因探索の主要な資料となるので、その内容をダン
プして保存できるようにする必要がある。 〔従来の技術〕 第3図は、仮想記憶方式の計算機の構成例を示すブロ
ック図である。 処理装置1は主記憶装置2と接続して、その記憶領域
にアクセスする機能を持ち、主記憶装置2にロードされ
ているプログラムを実行する。 又処理装置1は、例えば磁気ディスク記憶装置等から
なる外部記憶装置5と接続し、外部記憶装置5に格納す
るプログラム及びデータから、所要の部分を主記憶装置
2にロードして処理する。 仮想記憶方式の計算機の場合に、所要の処理を行うプ
ログラム及びデータからなる仮想記憶空間の所要のペー
ジを、外部記憶装置5の外部ページファイル7に保持
し、所要のページを外部ページファイル7から主記憶装
置2の実ページにロードする。 ロードされたプログラムの実行制御及びデータへのア
クセスは、それらのプログラムから仮想空間の論理アド
レスを指定して要求され、処理装置1のアドレス変換機
構によって、命令アドレス又は命令のオペランドアドレ
スとして生成する論理アドレスを、実ページ10の実アド
レスに変換するアドレス変換を実行し、その実アドレス
を使って主記憶装置2への実際のアクセスを実行する。 このようなアドレス変換のために、例えば仮想空間ご
とのアドレス変換テーブル群を、1つのセグメントテー
ブル14と、セグメントテーブル14の各項のポインタで指
示されるページテーブル15によって構成する。 各ページテーブル15において、各項は各論理ページに
対応し、実ページ10が割り当てられている場合にその実
アドレスを指示するポインタを保持する。又、実ページ
が割り当てられていない場合には、その項のページイン
バリッドビットを1にし、且つポインタの値を0にして
おく。 ページインバリッドビットのある論理ページへのアク
セス要求を、処理装置1のアドレス変換機構で検出する
と、いわゆるページフォルト割込を起こして、ページン
グ管理プログラムを実行し、外部ページファイル7にそ
の論理ページの内容が格納されている(ページアウトさ
れている)場合には、主記憶装置2の空き実ページを選
んでそのページをロードする(ページインする)。 なお、空き実ページが無い場合には、適当に実ページ
を選択して、その内容が更新されている場合にはそれを
外部ページファイル7に書き出して保存し、その実ペー
ジを空きの状態にして前記のようにページインに使用す
る。 各仮想記憶空間において、外部ページファイル7へペ
ージアウトされているページを管理するために、主記憶
上に外部ページ管理テーブル16を設ける。外部ページ管
理テーブル16はページテーブルと同様に各項を論理ペー
ジに対応させ、外部ページファイル7にページアウトさ
れているページに対応する項には、外部ページファイル
7上のページアドレスを保持するようにする。 ある仮想記憶空間で実行するプログラムにおいて、何
等かのエラーが検出されて、そのプログラムの実行を継
続できなくなった場合には、所定のエラー処理ルーチン
がその仮想空間の有効情報のある全ページの内容を、外
部記憶装置5のダンプファイル8に出力する。 このプログラムが、複数のタスクで並行に実行されて
いた場合には、1つのタスクでエラーが発生しても、一
般に他のタスクの処理は継続できるので、エラー処理ル
ーチンは以上のダンプ処理を完了すると、直ちにそれら
のタスクの実行を再開して継続させる。 こゝでエラー処理ルーチンはダンプ処理を、例えば第
4図に示す流れ図のように実行する。即ち、仮想記憶空
間の最初の論理ページのアドレスにページアドレスを設
定して処理を始めると、第4図の処理ステップ20でペー
ジテーブル15の所要ページの項の内容により、ページイ
ンバリッドビットが立っていなければ、実ページがある
ので、処理ステップ21でその実ページの内容を所定のバ
ッファに転送し、処理ステップ22でバッファのデータを
ダンプファイル8に出力する。 実ページが無い場合には、処理ステップ23に分岐し
て、該当ページの項のある外部ページ管理テーブル16を
参照し、ページアウトされた外部ページがあれば、処理
ステップ24でその外部ページを外部ページファイル7か
らバッファへ読み込み、読み込みが完了すると処理ステ
ップ22でバッファの内容をダンプファイル8へ出力す
る。 出力を終わり、又は外部ページも無いことから有効な
ページが無いと判定した場合には、処理ステップ25でこ
の空間の最終ページか判定し、最終ページであればダン
プ処理を終わり、最終ページでなければ処理ステップ26
でページアドレスを次へ進めて処理ステップ20に戻り、
次のページについて前記の処理を繰り返す。 〔発明が解決しようとする問題点〕 前記のようにプログラムの実行でエラーが検出された
場合には、その仮想記憶空間の情報をダンプした後に、
プログラムの実行を再開するが、ダンプ処理は前記の処
理の流れから明らかなように、各ページごとに外部記憶
装置との入出力データ転送が1回又は2回必要であり、
このようなデータ入出力はよう知られているように、処
理装置の実行速度のオーダで見た場合に、非常に長い時
間を要する。このためにエラー検出後、プログラムの実
行を再開できるまでの、実質処理のできない時間が長く
なるという問題がある。 〔問題点を解決するための手段〕 第1図は、本発明の構成を示す処理の流れ図である。 図はエラー処理ルーチンによる、エラー発生仮想記憶
空間のプログラム実行再開前の処理の流れを示し、30〜
35は処理ステップである。 〔作 用〕 プログラムの実行によるエラーが発生すると、プログ
ラムを停止して、エラー処理ルーチンは、第1図の処理
ステップ30でページテーブルにより、実ページの有無を
識別し、実ページが有れば処理ステップ31でページテー
ブルのその項に所定の表示をする。 実ページが無ければ、処理ステップ32で外部ページ管
理テーブルを参照し、外部ページが有れば処理ステップ
33でそのテーブルに所定の表示をする。 処理ステップ34、35でページ終了か判定して、その記
憶空間の全ページについて以上の処理を終了すればエラ
ーで中断したプログラムの実行を再開する。前記の表示
を付けたページのダンプ処理はプログラムの実行と並行
し、ページ内容が更新される前に保存するようにする。 以上により、外部記憶装置とデータ入出力を待たず、
前記表示の設定のみの比較的短時間の処理の後、プログ
ラムの実行が再開される。 〔実施例〕 プログラム実行によりエラーが発生すると、そのプロ
グラムを停止して、エラー処理ルーチンを起動する。 エラー処理ルーチンは、エラーの発生した仮想記憶空
間の最初の論理ページのアドレスにページアドレスを設
定して処理を始めると、第1図の処理ステップ30でペー
ジテーブル15により、実ページの有無を識別し、実ペー
ジが有れば処理ステップ31でページテーブルのその項の
ページインバリッドビットを1にし、但し実ページを指
示するポインタは元のまゝに保存することにより、この
ページがダンプを要することの表示とする。 実ページが無ければ、処理ステップ32で外部ページ管
理テーブル16を参照し、外部ページが有れば処理ステッ
プ33でそのテーブルの、当該項に設けた保存ビットを1
にすることにより、このページがダンプを要することの
表示とする。 外部ページも無い場合は、有効ページが無いものと
し、以上の処理の後、処理ステップ34でページ終了か判
定し、終了でなければ処理ステップ35でページアドレス
を進めて処理ステップ30に戻り、次のページの処理を繰
り返す。 すべてのページの処理を終了すればエラー処理ルーチ
ンの処理を終わり、エラーで中断したプログラムの実行
を再開する。 以上のようにして、従来のような外部記憶装置5との
データ入出力を全く必要としない制御情報の設定処理の
み行って、中断したプログラムの実行を再開するので、
エラー発生からプログラム再開までの時間が、例えば分
のオーダからマイクロ秒のオーダというように著しく短
縮される。 エラー処理ルーチンは中断したプログラムを再開して
処理を終了するとき、同時にダンプ処理ルーチンも起動
する。 ダンプ処理ルーチンは他のプログラムと並行して、例
えば第5図に示すように、前記エラー処理ルーチンによ
って表示を付けられているページのダンプ処理を実行す
る。 即ち、ダンプ処理ルーチンは、最初のページから始め
て、処理ステップ50で外部ページ管理テーブル16に保存
ビットが立っているページであれば処理ステップ56に進
み、外部ページをバッファに読み込み、処理ステップ57
で保存ビットをリセットする。 保存ビットが立っていない場合は、処理ステップ51で
ページテーブル15を検査し、ページインバリッドビット
がオンで、実ページがあれば、処理ステップ52でページ
インバリッドビットをリセットした後、処理ステップ53
でページの内容をバッファに複写する。 以上何れかによってバッファに保持された内容を、処
理ステップ54でダンプファイル8へ出力し、出力動作が
完了すると、処理ステップ55で判定して、未処理のペー
ジがあれば処理ステップ50に戻って、以上の処理を繰り
返す。 並行して実行する再開したプログラムがページインバ
リッドビットの立っているページにアクセスしてページ
フォールトが発生すると、第2図の処理ステップ40で、
ページテーブル15のポインタが0か否かにより実ページ
の有無を識別する。 実ページが有れば処理ステップ41でそのページの内容
をダンプするようにダンプ処理ルーチンに通知し、処理
ステップ42でページテーブル15のページインバリッドビ
ットをオフにした後終了するが、このときダンプ処理ル
ーチンが優先して開始2の入口から実行されて、処理ス
テップ53でページの内容をバッファに保存し、処理ステ
ップ54で出力を開始する。 実ページが無い場合には、処理ステップ43で外部ペー
ジ管理テーブル16を見て、該当ページの項に前記の保存
ビットが立っているか識別する。 保存ビットが立っていれば、処理ステップ44で外部ペ
ージを外部ページファイル7から実ページへ読み込み、
処理ステップ45でページテーブル15の該当ポインタを設
定することで仮想記憶空間内の未使用のページに割り当
て、ページフォールトを起こしたプログラムの実行を継
続する。 読み込んだ外部ページは、外部ページ管理テーブル16
の項に保存ビットが表示されているので、元の内容がそ
の後も保存される。 処理ステップ43で外部ページ管理テーブル16の項に保
存ビットが立っていなければ、通常のページフォールト
の処理を開始する。 〔発明の効果〕 以上の説明から明らかなような本発明によれば、計算
機プログラム実行エラー発生時の記憶空間の情報を保存
する場合に、中断したプログラムの実行再開までに要す
る時間を著しく短縮して計算機の利用効率を向上すると
いう著しい工業的効果がある。
DETAILED DESCRIPTION OF THE INVENTION [Overview] This is a processing method that enables parallel execution of a dump for saving the contents of virtual storage when an error occurs during execution of a computer program, and execution of an interruption program. When an error occurs, a display indicating that the content needs to be saved is attached to the page existing at that time, and the program execution is immediately resumed thereafter. The contents of the page with this display are dumped in parallel with the execution of the program. With this processing method, the program interruption time when an error occurs is extremely short, and the utilization efficiency of the computer is improved. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processing method for dumping stored contents when an error occurs in a computer program, and more particularly to a processing method for enabling a dump and execution of an interruption program to be performed in parallel. Especially when many so-called tasks such as a computer of an online system are executed in parallel, if any program error is detected in the task of the application program being processed online, the processing of the task is generally performed. Although tasks must be interrupted, tasks that are being processed in parallel can be continued, so it is desirable to continue execution immediately. On the other hand, since the contents of the storage space at the time of occurrence of an error are the main data for searching for the cause of the error, it is necessary to dump and save the contents. [Prior Art] FIG. 3 is a block diagram showing a configuration example of a computer of a virtual storage system. The processing device 1 is connected to the main storage device 2 and has a function of accessing the storage area, and executes a program loaded in the main storage device 2. The processing device 1 is connected to an external storage device 5 composed of, for example, a magnetic disk storage device or the like, and loads a required portion from the program and data stored in the external storage device 5 into the main storage device 2 for processing. In the case of the virtual storage system computer, a required page of a virtual storage space including a program and data for performing required processing is held in an external page file 7 of the external storage device 5, and the required page is stored in the external page file 7. The data is loaded into a real page of the main storage device 2. Execution control of the loaded programs and access to the data are requested by designating the logical addresses of the virtual space from those programs, and are generated by the address translation mechanism of the processing device 1 as instruction addresses or instruction operand addresses. The address conversion for converting the address to the real address of the real page 10 is executed, and the actual access to the main storage device 2 is executed using the real address. For such address conversion, for example, an address conversion table group for each virtual space is constituted by one segment table 14 and a page table 15 indicated by a pointer of each item of the segment table 14. In each page table 15, each item corresponds to each logical page, and when a real page 10 is allocated, holds a pointer indicating the real address thereof. If no real page is assigned, the page invalid bit of the item is set to 1 and the value of the pointer is set to 0. When an access request to a logical page having a page invalid bit is detected by the address translation mechanism of the processing device 1, a so-called page fault interrupt occurs, a paging management program is executed, and the external page file 7 stores the logical page of the logical page. If the contents are stored (page-out), a free real page in the main storage device 2 is selected and the page is loaded (page-in). If there is no free real page, an appropriate real page is selected, and if the content is updated, it is written out and saved in the external page file 7, and the real page is made empty. Used for page-in as described above. In each virtual storage space, an external page management table 16 is provided on the main memory to manage pages paged out to the external page file 7. The external page management table 16 associates each item with a logical page similarly to the page table, and holds a page address on the external page file 7 in an item corresponding to a page paged out to the external page file 7. To When an error is detected in a program executed in a certain virtual storage space and the execution of the program cannot be continued, a predetermined error processing routine performs the processing of the contents of all pages having valid information of the virtual space. Is output to the dump file 8 of the external storage device 5. If this program is executed in parallel by multiple tasks, even if an error occurs in one task, processing of other tasks can generally be continued, so the error handling routine completes the above dump processing Then, the execution of those tasks is immediately resumed and continued. Here, the error processing routine executes the dump processing, for example, as shown in the flowchart of FIG. That is, when the page address is set to the address of the first logical page in the virtual storage space and the processing is started, the page invalid bit is set according to the contents of the required page item of the page table 15 in the processing step 20 in FIG. If not, there is a real page, so the contents of the real page are transferred to a predetermined buffer in processing step 21, and the data in the buffer is output to the dump file 8 in processing step 22. If there is no actual page, the process branches to processing step 23, and refers to the external page management table 16 having the item of the corresponding page. The buffer is read from the page file 7 and when the reading is completed, the contents of the buffer are output to the dump file 8 in a processing step 22. If the output is completed or if it is determined that there is no valid page because there is no external page, it is determined in processing step 25 whether or not this space is the last page. Processing step 26
To advance the page address and return to processing step 20,
The above process is repeated for the next page. [Problems to be Solved by the Invention] When an error is detected in the execution of the program as described above, after dumping the information of the virtual storage space,
The execution of the program is resumed, but the dump process requires one or two transfers of input / output data to / from the external storage device for each page, as is apparent from the above-described process flow.
As is well known, such data input / output takes a very long time when viewed in the order of the execution speed of the processing device. For this reason, there is a problem in that after the error is detected, the time during which the substantial processing cannot be performed until the execution of the program can be resumed becomes longer. [Means for Solving the Problems] FIG. 1 is a flow chart of a process showing the configuration of the present invention. The figure shows the flow of processing by the error processing routine before resuming program execution in the error-occurring virtual storage space.
35 is a processing step. [Operation] When an error occurs due to the execution of a program, the program is stopped, and the error processing routine identifies the presence or absence of a real page by a page table in processing step 30 in FIG. In processing step 31, a predetermined display is made for the item in the page table. If there is no actual page, the external page management table is referred to in processing step 32, and if there is an external page, the processing step
At 33, a predetermined display is made on the table. In the processing steps 34 and 35, it is determined whether or not the page is completed. If the above processing is completed for all pages in the storage space, the execution of the program interrupted by the error is resumed. The dump processing of the page with the display is performed in parallel with the execution of the program and is saved before the page content is updated. As described above, without waiting for data input / output with the external storage device,
After a relatively short processing of only the display setting, the execution of the program is resumed. [Embodiment] When an error occurs during execution of a program, the program is stopped and an error processing routine is started. In the error processing routine, when a page address is set to the address of the first logical page of the virtual storage space in which the error has occurred and processing is started, the presence or absence of a real page is identified by the page table 15 in the processing step 30 of FIG. If there is a real page, the page invalid bit of that item in the page table is set to 1 in processing step 31. However, this page needs to be dumped by storing the pointer indicating the real page in the original state. It shall be an indication of that. If there is no real page, the external page management table 16 is referred to in the processing step 32, and if there is an external page, the storage bit provided in the corresponding item of the table is set to 1 in the processing step 33.
To indicate that this page requires a dump. If there is no external page, it is assumed that there is no valid page. After the above processing, it is determined whether or not the page is completed in processing step 34. If not, the page address is advanced in processing step 35 and the processing returns to processing step 30, and Repeat the process for the page. When the processing of all pages is completed, the processing of the error processing routine is completed, and the execution of the program interrupted by the error is resumed. As described above, since only the control information setting processing that does not require any data input / output with the external storage device 5 as in the related art is performed and the execution of the interrupted program is resumed,
The time from the occurrence of an error to the restart of the program is significantly reduced, for example, from the order of minutes to the order of microseconds. When the error processing routine terminates the processing by resuming the interrupted program, the dump processing routine is started at the same time. The dump processing routine executes the dump processing of the page indicated by the error processing routine as shown in FIG. 5, for example, in parallel with other programs. That is, the dump processing routine starts from the first page, proceeds to processing step 56 if the storage bit is set in the external page management table 16 in processing step 50, reads the external page into the buffer, and executes processing step 57.
Reset the save bit with. If the storage bit is not set, the page table 15 is inspected in the processing step 51, and if the page invalid bit is on and there is a real page, the page invalid bit is reset in the processing step 52, and then the processing step 53
Copy the contents of the page to the buffer with. The content held in the buffer by any of the above is output to the dump file 8 in processing step 54, and when the output operation is completed, it is determined in processing step 55, and if there is an unprocessed page, the process returns to processing step 50. And the above processing is repeated. When the restarted program executed in parallel accesses the page where the page invalid bit is set and a page fault occurs, at step 40 in FIG.
The presence or absence of a real page is identified based on whether the pointer of the page table 15 is 0 or not. If there is a real page, the processing routine notifies the dump processing routine to dump the contents of the page in processing step 41, and ends after turning off the page invalid bit of the page table 15 in processing step 42. The processing routine is executed preferentially from the entrance of the start 2, the page contents are stored in the buffer in the processing step 53, and the output is started in the processing step 54. If there is no actual page, the external page management table 16 is checked in processing step 43 to determine whether the above-mentioned storage bit is set in the item of the relevant page. If the save bit is set, the external page is read from the external page file 7 to the real page in the processing step 44,
By setting the corresponding pointer in the page table 15 in the processing step 45, it is allocated to an unused page in the virtual storage space, and the execution of the program in which the page fault has occurred is continued. The read external page is stored in the external page management table 16
Since the save bit is displayed in the item, the original content is saved thereafter. If the storage bit is not set in the item of the external page management table 16 in the processing step 43, the normal page fault processing is started. [Effects of the Invention] According to the present invention as is apparent from the above description, when information on a storage space at the time of occurrence of a computer program execution error is saved, the time required for resuming execution of the interrupted program is significantly reduced. Thus, there is a remarkable industrial effect that computer utilization efficiency is improved.

【図面の簡単な説明】 第1図は本発明の構成を示す処理の流れ図、 第2図は再開したプログラムの処理の流れ図、 第3図は計算機の構成例ブロック図、 第4図は従来の処理の流れ図、 第5図はダンプ処理ルーチンの処理の流れ図である。 図において、 1は処理装置、2は主記憶装置、 5は外部記憶装置、7は外部ページファイル、 8はダンプファイル、10は実ページ、 14はセグメントテーブル、15はページテーブル、 16は外部ページ管理テーブル、 20〜26、30〜35、40〜45、50〜55は処理ステップ を示す。[Brief description of the drawings] FIG. 1 is a flowchart of a process showing the configuration of the present invention, FIG. 2 is a flowchart of the processing of the restarted program, FIG. 3 is a block diagram of a configuration example of a computer, FIG. 4 is a flowchart of a conventional process, FIG. 5 is a flowchart of the processing of the dump processing routine. In the figure, 1 is a processing device, 2 is a main storage device, 5 is an external storage device, 7 is an external page file, 8 is a dump file, 10 is a real page, 14 is a segment table, 15 is a page table, 16 is an external page management table, 20-26, 30-35, 40-45, 50-55 are processing steps Is shown.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−65146(JP,A) 特開 昭60−91459(JP,A) 特開 昭59−2156(JP,A) 特開 昭61−52753(JP,A) 特開 昭60−83150(JP,A)   ────────────────────────────────────────────────── ─── Continuation of front page    (56) References JP-A-62-65146 (JP, A)                 JP-A-60-91459 (JP, A)                 JP-A-59-2156 (JP, A)                 JP-A-61-52753 (JP, A)                 JP-A-60-83150 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.仮想記憶空間に配置されたプログラムを実行し、該
仮想記憶空間はページに分割して管理され、該ページ管
理のために所定のページ管理情報を有し、該プログラム
実行に所定のエラー状態が検出された場合には、該検出
の時点の該仮想記憶空間内の記憶内容を所定の記憶装置
にダンプ保存するようにした計算機において、 エラー状態を検出した場合に、当該エラーを発生したプ
ログラムの実行を停止して、該プログラムを配置した仮
想記憶空間の有効情報のあるページをページ管理情報に
よって識別し、 当該有効情報のある全ページについて、当該ページに対
応する該ページ管理情報に、ダンプ指定を表す表示とし
て実ページが存在する場合にはページインバリッドフラ
グを、実ページが存在しない場合には保存フラグを設定
し、 全ページの該ダンプ指定の設定を完了したことにより、
該プログラムの実行を再開し、且つダンプ処理を起動
し、 該プログラムは、ページインバリッドフラグの設定され
ているページに対するアクセスが発生した際に、実ペー
ジが存在している場合には、該ページのダンプ出力を行
いページインバリッドフラグを解除した後に処理を継続
し、実ページが存在せず保存フラグが設定されている場
合には、外部ページの内容を実ページへ読み込んだ後に
処理を継続し、 該ダンプ処理は、前記再開されたプログラムの処理と並
行して、前記仮想記憶空間のページの各々について、保
存フラグが設定されている場合に外部ページの内容をダ
ンプ出力するとともに、該ページの保存ビットを解除
し、保存フラグが設定されていない場合にはページイン
バリッドフラグを解除するとともに実ページの内容をダ
ンプ出力する ことを特徴とする仮想記憶ダンプ処理方法。
(57) [Claims] A program arranged in a virtual storage space is executed, the virtual storage space is managed by being divided into pages, and has predetermined page management information for managing the pages, and a predetermined error state is detected during execution of the program. If an error condition is detected in a computer that dumps the storage contents in the virtual storage space at the time of the detection to a predetermined storage device, the execution of the program that generated the error Is stopped, and the page having the valid information of the virtual storage space in which the program is located is identified by the page management information. For all the pages having the valid information, the dump designation is set in the page management information corresponding to the page. If a real page exists as a display to be displayed, a page invalid flag is set. If no real page exists, a save flag is set. By completing the configuration of the dump specified,
When the execution of the program is resumed and the dump process is started, when the access to the page for which the page invalid flag is set occurs, if the actual page exists, the program And then continue the process after clearing the page invalid flag and if the real page does not exist and the save flag is set, continue processing after reading the contents of the external page to the real page In the dump processing, in parallel with the processing of the restarted program, for each of the pages of the virtual storage space, when the save flag is set, the contents of the external page are dumped and output. Clear the save bit, and if the save flag is not set, clear the page invalid flag and download the contents of the real page. Virtual memory dump processing method characterized by flop output.
JP62107196A 1987-04-30 1987-04-30 Virtual memory dump processing method Expired - Fee Related JP2718676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62107196A JP2718676B2 (en) 1987-04-30 1987-04-30 Virtual memory dump processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62107196A JP2718676B2 (en) 1987-04-30 1987-04-30 Virtual memory dump processing method

Publications (2)

Publication Number Publication Date
JPS63273144A JPS63273144A (en) 1988-11-10
JP2718676B2 true JP2718676B2 (en) 1998-02-25

Family

ID=14452913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62107196A Expired - Fee Related JP2718676B2 (en) 1987-04-30 1987-04-30 Virtual memory dump processing method

Country Status (1)

Country Link
JP (1) JP2718676B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS592156A (en) * 1982-06-29 1984-01-07 Fujitsu Ltd List output controlling system
JPS6083150A (en) * 1983-10-14 1985-05-11 Nec Corp Collecting method of main memory information
JPS6091459A (en) * 1983-10-24 1985-05-22 Fujitsu Ltd Data processor
JPS6152753A (en) * 1984-08-22 1986-03-15 Nec Corp Fault processing device
JPS6265146A (en) * 1985-09-13 1987-03-24 Nec Corp Dump system for information processing system

Also Published As

Publication number Publication date
JPS63273144A (en) 1988-11-10

Similar Documents

Publication Publication Date Title
KR100413915B1 (en) Computer system based on microprocessor, its driving method and backup system therefor
US7111134B2 (en) Subsystem and subsystem processing method
US5752268A (en) Minimum-delay recoverable disk control system using checkpoints and nonvolatile memory
JPS5845611A (en) Peripheral memory system
US6952793B2 (en) Computer system and methods for acquiring dump information and system recovery
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
CA2263170C (en) Persistent heap for dynamic picture objects
JP2718676B2 (en) Virtual memory dump processing method
JPH0789328B2 (en) Data processing device
JP2002258971A (en) Method for restarting computer system
JPH0744440A (en) Data save device
JP7074291B2 (en) Information processing equipment, information processing methods and programs
JPH0217550A (en) Trouble processing system for multiprocessor system
JPH09330253A (en) Memory dump method and memory damp system applying the same
JPH07152574A (en) Program loading system
JPH0216652A (en) Missing page processing system
JP3517884B2 (en) Data processing device
JPS6138504B2 (en)
JP2605476B2 (en) Dump collection processing method
JP2740572B2 (en) Program loading method
JPH01300352A (en) Dump area instruction control system
JPH0658647B2 (en) Page fault test method on computer
JPH0795299B2 (en) Database update processing method
JPH05108444A (en) Journal extraction system
JPH0887443A (en) Cell pool area management processing method

Legal Events

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