JPH03255547A - Memory dump output system - Google Patents

Memory dump output system

Info

Publication number
JPH03255547A
JPH03255547A JP2055420A JP5542090A JPH03255547A JP H03255547 A JPH03255547 A JP H03255547A JP 2055420 A JP2055420 A JP 2055420A JP 5542090 A JP5542090 A JP 5542090A JP H03255547 A JPH03255547 A JP H03255547A
Authority
JP
Japan
Prior art keywords
program
updated
history information
area
phase
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.)
Pending
Application number
JP2055420A
Other languages
Japanese (ja)
Inventor
Kenji Imamine
今峰 健司
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 JP2055420A priority Critical patent/JPH03255547A/en
Publication of JPH03255547A publication Critical patent/JPH03255547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To suppress the memory dump output to the necessary minimum and to shorten the memory dump processing time by referring to a history information table for storing information showing an area referred to an updated from a program at the time when abnormality of the program is finished and executing a dump output of only a memory area referred to and updated by a phase at the time when abnormality is finished. CONSTITUTION:This system is provided with a history information table 1 in which information referred to and updated in the course of executing a program is recorded by a phase unit, a reference/updating area registering means 2 for recording the information of the area referred to and updated in the course of executing the program by the phase unit in the history information table 1, and a dump output means 4 which is called at the time when the abnormality of the program is finished, refers to the history information table 1, and executes the dump output of only the area referred to and updated by the phase at the time when abnormality is finished. In such a manner, the memory dump output is suppressed to the minimum and the dump processing time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機システムのメモリダンプ出力方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory dump output method for an electronic computer system.

〔従来の技術〕[Conventional technology]

従来、計算機システムにおけるプログラム異常終了時の
メモリダンプ出力方式として、以下のような方式がとら
れていた。
Conventionally, the following methods have been used to output a memory dump when a program terminates abnormally in a computer system.

・異常終了したプムグラムの全メモリ領域をダンプ出力
する。
・Dump out the entire memory area of the program that terminated abnormally.

・主要な制御テーブル全体を出力する。・Output the entire main control table.

・異常終了時、CPU内の領域を示すレジスタで示され
ている全領域を出力する。
・At the time of abnormal termination, all the areas indicated by the register indicating the area in the CPU are output.

・仮想記憶方式をとる計算機システムにおいて実メモリ
が割り当てられている領域を全て出力する。
- Output all areas to which real memory is allocated in a computer system that uses virtual memory.

実メモリが割り当てられていて、かつ、ページ内容が更
新されているページを全て出力する。
Output all pages for which real memory has been allocated and page contents have been updated.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメモリダンプの出力方式は、いずれもダ
ンプ出力領域がプログラムの論理的動作とは無関係に指
定されていたので、オンライントランザクジョン処理ブ
aグラムのように、トランザクション毎に処理が完結し
、本来は異常終了時に処理していたトランザクションに
関係するメモリ領域のダンプのみ必要な場合でも、多量
のメモリダンプが出力され、メモリダンプ出力時間が長
くなって次のトランザクッション処理の受付が遅れるこ
とがあるという欠点があり、さらに、同時に複数の大規
模プログラムが異常終了した場合、計算機システムが一
時的に過負荷状態になるという欠点がある。
In all of the conventional memory dump output methods described above, the dump output area is specified regardless of the logical operation of the program, so the processing is completed for each transaction, like an online transaction processing program. Even if originally only a dump of the memory area related to the transaction that was being processed at the time of abnormal termination is required, a large amount of memory dump is output, which increases the memory dump output time and delays reception of the next transaction cushion process. Furthermore, if multiple large-scale programs terminate abnormally at the same time, the computer system will be temporarily overloaded.

本発明の目的は、異常終了時のフェーズで参照・更新さ
れるメモリ領域のみのダンプ出力ができるメモリダンプ
出力方式を提供することにある。
An object of the present invention is to provide a memory dump output method that can output a dump of only the memory area that is referenced and updated in the abnormal termination phase.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のメモリダンプ出力方式は、 プログラムの実行中に参照・更新される領域の情報がフ
ェーズ単位で記録される履歴情報テーブルと、 前記lit歴情報テーブルに前記プログラムの実行中に
参照・更新される領域の情報をフェーズ単位で記録する
参照・更新領tiJ、登録手段と、前記プログラムり異
常終了時に呼出され、前記履歴情報テーブルを参照して
、異常終了時のフェーズで参照・更新された領域のみを
ダンプ出力するダンプ出力手段とを有する。
The memory dump output method of the present invention includes a history information table in which information on areas that are referenced and updated during program execution is recorded in phase units, and a history information table that records information on areas that are referenced and updated during program execution. a reference/update area tiJ for recording information of an area in each phase, a registration means, and an area that is called when the program terminates abnormally, refers to the history information table, and is referenced/updated in the phase at the time of abnormal termination. and a dump output means for outputting only the dump data.

〔作用〕[Effect]

履歴情報テーブルにプログラム実行中に参照・更新され
た領域の情報がプログラムのフェーズ単位で記録されて
いるので、プログラム異常終了時に呼出されたダンプ出
力手段は、履歴情報テーブルを参照して異常終了時のフ
ェーズで参照・更新されたメモリ領域のみをダンプ出力
する。
Since the history information table records information on areas referenced and updated during program execution for each phase of the program, the dump output means called when the program terminates abnormally refers to the history information table Only the memory areas referenced and updated in the phase are dumped.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のメモリダンプ出力方式の一実施例の構
成を示すブロック図、第2図は履歴情報テーブル1の構
成図、第3図は参照・更新領域登録手段2の動作を示す
フローチャート、第4図はダンプ出力手段4の動作を示
すフローチャートである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the memory dump output method of the present invention, FIG. 2 is a configuration diagram of the history information table 1, and FIG. 3 is a flowchart showing the operation of the reference/update area registration means 2. , FIG. 4 is a flowchart showing the operation of the dump output means 4.

本実施例の構成は、第1図に示すように、履歴情報テー
ブル1と、複数のフェーズ1〜nに分けられた業務プロ
グラム5の実行中にフェーズの変更を検出したとき新フ
ェーズの開始情報を書込むフェーズ開始情報登録手段3
を含み、各フェーズ1〜nの実行中に参照・更新された
領域の情報を領域情報テーブル1に書込む参照・更新領
域登録手段2と、業務プログラム5が異常終了したとき
呼出され、履歴情報テーブル1を参照して、異常終了時
のフェーズnで参照・更新されたメモリ領域のみをダン
プ出力するダンプ出力手段4とからなる。
As shown in FIG. 1, the configuration of this embodiment includes a history information table 1 and information on the start of a new phase when a phase change is detected during the execution of a business program 5 divided into a plurality of phases 1 to n. Phase start information registration means 3 for writing
a reference/update area registration means 2 that writes information on areas referenced and updated during the execution of each phase 1 to n to the area information table 1; It consists of a dump output means 4 that refers to Table 1 and dumps only the memory area that was referenced and updated in phase n at the time of abnormal termination.

また、履歴情報テーブル1は、業務プログラム5内で定
義されているテーブル名とその仮想空間内のアドレスや
サイズ等の参照更新領域の情報がM@・格納されるII
歴情報エントリ領域1−2と、最新の履歴情報の領域1
−2を示すポインタが格納されている1i1111!領
域1−1とからなる。
In addition, the history information table 1 is a table name defined in the business program 5, and information on the reference update area such as the address and size in the virtual space is stored in the M@ II.
History information entry area 1-2 and latest history information area 1
1i1111 where a pointer indicating -2 is stored! It consists of area 1-1.

次に、参照・更新領域登録手段2の動作を第2図と第3
図を参照して説明する。
Next, the operation of the reference/update area registration means 2 will be explained in FIGS. 2 and 3.
This will be explained with reference to the figures.

参照・更新領tii!登録手段2は、実行中の業務プロ
グラム5が参照・更新する領域のテーブル名とその仮想
空間内のアドレスやサイズを履歴情報エントリの形式に
編集して保持する。プログラム実行中にフェーズの変更
があると、変更後のフェーズの最初に参照・更新される
領域の履歴情報エントリにフェーズ開始情報を何加して
保持する〈ステップ2−1〉。次に、[J情報テーブル
1の制御領1)i!1−1から最新のポインタが読込ま
れ(ステップ2−2)、該ポインタが次の履歴情報エン
トリ領域1−2を示すように更新される〈ステップ2−
3〉。その後、更新されたポインタで示される履歴情報
エントリ領1it1−2に先に(ステップ2−1で)I
I果され、保持されている履歴情報が格納される(ステ
ップ2−4)。
Reference/update area tii! The registration means 2 edits and holds the table name of the area referenced/updated by the business program 5 being executed, and its address and size in the virtual space in the form of a history information entry. When a phase is changed during program execution, phase start information is added to the history information entry of the area that is first referred to and updated in the phase after the change (step 2-1). Next, [Control area 1 of J information table 1) i! The latest pointer is read from 1-1 (step 2-2), and the pointer is updated to point to the next history information entry area 1-2 (step 2-2).
3〉. Thereafter, the history information entry area 1it1-2 indicated by the updated pointer is first (in step 2-1)
The stored history information is stored (step 2-4).

プログラム異常終了が発生してダンプ出力手段4が呼出
されると、第4図に示すように、ダンプ出力手段4は、
先ず履歴情報エントリ1−2の最新ポインタを入手しく
ステップ4−1 > 、入手した該ポインタの示す履歴
情報エントリ領wt1−2から最新のフェーズ開始エン
トリまで順次遡る〈ステップ4−2〉。次に、求められ
たフェーズ開始エントリからプログラム異常終了時まで
に履歴情報エントリ領域1−2に登録された情報をサー
チし、該フェーズ目で参照更新されたテーブルのテーブ
ル名と領域の一覧表を編集する(ステップ4−3)。最
後に、編集された一覧表によりプログラム5の該当領域
nのメモリダンプを出力する(ステップ4−4〉。
When an abnormal program termination occurs and the dump output means 4 is called, as shown in FIG.
First, the latest pointer of the history information entry 1-2 is obtained (step 4-1), and the history information entry area wt1-2 indicated by the obtained pointer is sequentially traced back to the latest phase start entry (step 4-2). Next, the information registered in the history information entry area 1-2 from the obtained phase start entry to the time of program abnormal termination is searched, and a list of table names and areas of tables referenced and updated in the corresponding phase is searched. Edit (step 4-3). Finally, a memory dump of the corresponding area n of the program 5 is output based on the edited list (step 4-4).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、プログラムの各フェーズ
単位でプログラムから参照・更新される領域を示す情報
を格納する履歴情報テーブルを設け、プログラムの異常
終了時には該履歴情報テーブルを参照して異常終了時の
フェーズで参照・更新されたメモリ領域のみをダンプ出
力することにより、オンラインのトランザクション処理
の場合もメモリダンプ出力を必要最小限に抑え、メモリ
ダンプ処理時間を短縮し、また、複数の大規模プログラ
ムが同時に異常終了した場合にもシステムの過負荷状態
になることを防止できる効果がある。
As explained above, the present invention provides a history information table that stores information indicating areas that are referenced and updated by the program in each phase of the program, and when the program terminates abnormally, refers to the history information table and terminates the program abnormally. By outputting a dump of only the memory area that has been referenced or updated in the current phase, the memory dump output can be kept to the minimum necessary even during online transaction processing, reducing memory dump processing time, and This has the effect of preventing the system from becoming overloaded even if programs terminate abnormally at the same time.

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

第1図は本発明のメモリダンプ出力方式の一実施例の構
成を示すブロック図、第2図は履歴情報テーブル1の構
成を示す図、第3図は参照・更新情報登録手段2の動作
のフローチャート、第4図はダンプ出力手段4の動作の
フローチャートである。 1・・・履歴情報テーブル、 2・・・参照・更新領域登録手段、 3・・・フェーズ開始情報登録手段、 4・・・ダンプ出力手段、 5・・・業務プログラム、 2−1〜2−4.4−1〜4−4・・・ステップ。 0詐h: WiQ人 白太′尿気4式会ネi代 理 人
  弁理士 内 原  昔 第1図 第3図 第4図 第2図
FIG. 1 is a block diagram showing the configuration of an embodiment of the memory dump output method of the present invention, FIG. 2 is a diagram showing the configuration of the history information table 1, and FIG. 3 is a diagram showing the operation of the reference/update information registration means 2. Flowchart FIG. 4 is a flowchart of the operation of the dump output means 4. DESCRIPTION OF SYMBOLS 1... History information table, 2... Reference/update area registration means, 3... Phase start information registration means, 4... Dump output means, 5... Business program, 2-1 to 2- 4.4-1 to 4-4...step. 0 fraud h: WiQ person white thick urine 4 type association agent attorney person patent attorney Uchihara old figure 1 figure 3 figure 4 figure 2

Claims (1)

【特許請求の範囲】 1、複数のフェーズからなるプログラムのメモリダンプ
出力方式であつて、 前記プログラムの実行中に参照・更新される領域の情報
がフェーズ単位で記録される履歴情報テーブルと、 前記履歴情報テーブルに前記プログラムの実行中に参照
・更新される領域の情報をフェーズ単位で記録する参照
・更新領域登録手段と、 前記プログラムの異常終了時に呼出され、前記履歴情報
テーブルを参照して、異常終了時のフェーズで参照・更
新された領域のみをダンプ出力するダンプ出力手段とを
有するメモリダンプ出力方式。
[Scope of Claims] 1. A memory dump output method for a program consisting of a plurality of phases, comprising: a history information table in which information on areas referenced and updated during execution of the program is recorded in units of phases; reference/update area registration means for recording in a history information table information on areas that are referenced/updated during the execution of the program in units of phases; A memory dump output method having a dump output means for dumping only the area referenced and updated in the phase at the time of abnormal termination.
JP2055420A 1990-03-06 1990-03-06 Memory dump output system Pending JPH03255547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2055420A JPH03255547A (en) 1990-03-06 1990-03-06 Memory dump output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2055420A JPH03255547A (en) 1990-03-06 1990-03-06 Memory dump output system

Publications (1)

Publication Number Publication Date
JPH03255547A true JPH03255547A (en) 1991-11-14

Family

ID=12998086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2055420A Pending JPH03255547A (en) 1990-03-06 1990-03-06 Memory dump output system

Country Status (1)

Country Link
JP (1) JPH03255547A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system
US9442791B2 (en) 2014-11-07 2016-09-13 International Business Machines Corporation Building an intelligent, scalable system dump facility

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system
US9442791B2 (en) 2014-11-07 2016-09-13 International Business Machines Corporation Building an intelligent, scalable system dump facility
US9697068B2 (en) 2014-11-07 2017-07-04 International Business Machines Corporation Building an intelligent, scalable system dump facility

Similar Documents

Publication Publication Date Title
JPH03255547A (en) Memory dump output system
JP3130870B2 (en) Memory dump file reconstruction method
JPS63201741A (en) Dump information editing and outputting system
JP2605476B2 (en) Dump collection processing method
JPH08286950A (en) Information processor and trace information storage method
JPH0546641A (en) On-line data succeeding system
JPH0535414A (en) Magnetic tape file access system
JP3771753B2 (en) Integrated resource management method
JPH0259837A (en) Data recovery processing system
JP2568708B2 (en) How to update the double link queue
JPH05143422A (en) Updated journal managing system
JPH02109147A (en) Memory dump collection system
JPH04336638A (en) Disk exchange system in system working mode
JPS61177532A (en) Area control system
JPH04361338A (en) Transaction log data succeeding system
JPH025153A (en) Data base record format conversion system
JP2000259418A (en) Method and device for loading program and recording medium therefor
JPH04111026A (en) Write system for updating history information to data base
JPH02257349A (en) Network address setting system
JPH1049352A (en) Dll automatic generation system
JPH04113428A (en) Data restoring system
JPH0573378A (en) Data base record layout conversion system
JPH08153031A (en) File management device
JPH0573390A (en) Deadlock handling process system for data base
JPH01302429A (en) Source program editing system