JP7197131B2 - Information processing device, information processing method, program - Google Patents

Information processing device, information processing method, program Download PDF

Info

Publication number
JP7197131B2
JP7197131B2 JP2019016119A JP2019016119A JP7197131B2 JP 7197131 B2 JP7197131 B2 JP 7197131B2 JP 2019016119 A JP2019016119 A JP 2019016119A JP 2019016119 A JP2019016119 A JP 2019016119A JP 7197131 B2 JP7197131 B2 JP 7197131B2
Authority
JP
Japan
Prior art keywords
space
program
deleted
information processing
unit
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.)
Active
Application number
JP2019016119A
Other languages
Japanese (ja)
Other versions
JP2020123263A (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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP2019016119A priority Critical patent/JP7197131B2/en
Publication of JP2020123263A publication Critical patent/JP2020123263A/en
Application granted granted Critical
Publication of JP7197131B2 publication Critical patent/JP7197131B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Memory System (AREA)
  • Stored Programmes (AREA)

Description

本発明は、情報処理装置、情報処理方法、プログラムに関する。 The present invention relates to an information processing device, an information processing method, and a program.

主記憶装置を効率的に使用するための技術の一つとして、オペレーティングシステムが仮想記憶管理を行うことが知られている。 As one technique for efficiently using the main memory, it is known that the operating system performs virtual memory management.

このような仮想記憶管理を行う技術の一例として、例えば、特許文献1がある。特許文献1には、仮想アドレス空間に含まれる複数の仮想アドレスと、複数のセグメントのそれぞれに含まれる複数の物理アドレスとを対応づけるテーブルであるページテーブルを参照して仮想記憶管理を行うメモリ管理ユニットを有するメモリ管理システムが記載されている。 As an example of technology for performing such virtual memory management, there is, for example, Patent Document 1. Japanese Patent Application Laid-Open No. 2002-200000 describes memory management that performs virtual memory management by referring to a page table, which is a table that associates a plurality of virtual addresses included in a virtual address space with a plurality of physical addresses included in each of a plurality of segments. A memory management system with units is described.

特開2014-6895号公報JP 2014-6895 A

ある実行中のジョブが複数のプログラムをロードしている状態で新たなプログラムをロードする際、仮想記憶空間の空きが十分にない場合がある。このような場合、既にロードされているプログラムを一旦削除することで、空間の空きを形成していた。 When a new program is loaded while a job in execution is loading multiple programs, there may not be enough free space in the virtual storage space. In such a case, the free space is formed by deleting the already loaded program once.

ここで、アーキテクチャの拡張により、OS(Operating System)が管理する仮想記憶空間が拡張される場合がある。しかしながら、既存のプログラムが拡張された空間を使用するためには、拡張されたアーキテクチャに対応するための改修が必要になる。そのため、プログラムの改修が容易でない場合などにおいて、OSが管理する仮想記憶空間が拡張されたにもかかわらず、拡張された空間を有効に使うことが出来なかった。つまり、OSが管理している仮想記憶空間に空きがあるにもかかわらず、既にロードされているプログラムを一旦削除する事態が生じていた。 Here, the extension of the architecture may extend the virtual storage space managed by the OS (Operating System). However, in order for existing programs to use the expanded space, modifications are required to accommodate the expanded architecture. Therefore, even if the virtual storage space managed by the OS has been expanded, the expanded space cannot be used effectively when it is not easy to modify the program. In other words, even though the virtual storage space managed by the OS has a free space, the already loaded program is once deleted.

そこで、本発明の目的は、拡張された仮想記憶空間を有効に使うことが難しい場合がある、という課題を解決する情報処理装置、情報処理方法、プログラムを提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an information processing apparatus, an information processing method, and a program that solve the problem that it is sometimes difficult to effectively use an expanded virtual storage space.

かかる目的を達成するため本発明の一形態である情報処理装置は、
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を有する
という構成をとる。
In order to achieve such an object, an information processing apparatus, which is one embodiment of the present invention,
An information processing device in which a virtual storage space managed by an operating system is expanded,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
It has a configuration of

また、本発明の他の形態である情報処理方法は、
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、
退避の後、前記従来空間から削除対象のプログラムを解放する
という構成をとる。
Further, an information processing method according to another aspect of the present invention includes:
An information processing method performed by an information processing device in which a virtual storage space managed by an operating system is expanded,
When deleting a program from a conventional space, which is a virtual storage space before expansion, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space,
After saving, the program to be deleted is released from the conventional space.

また、本発明の他の形態であるプログラムは、
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を実現するためのプログラムである。
In addition, a program that is another aspect of the present invention is
In an information processing device with an expanded virtual storage space managed by an operating system,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
It is a program to realize

本発明は、以上のように構成されることにより、拡張された仮想記憶空間を有効に使うことが難しい場合がある、という課題を解決する情報処理装置、情報処理方法、プログラムを提供することが可能となる。 The present invention can provide an information processing apparatus, an information processing method, and a program that solve the problem that it is sometimes difficult to effectively use an expanded virtual storage space by being configured as described above. It becomes possible.

本発明の第1の実施形態において説明する情報処理装置の構成の一例を示すブロック図である。1 is a block diagram showing an example of the configuration of an information processing device described in the first embodiment of the present invention; FIG. OSが管理する仮想記憶空間の一例を示す図である。FIG. 2 is a diagram showing an example of virtual storage space managed by an OS; FIG. 退避状況管理テーブルの一例を示す図である。It is a figure which shows an example of an evacuation status management table. 情報処理装置により行われる処理の一例を示す図である。It is a figure which shows an example of the process performed by information processing apparatus. 情報処理装置により行われる処理の一例を示す図である。It is a figure which shows an example of the process performed by information processing apparatus. 情報処理装置により行われる処理の一例を示す図である。It is a figure which shows an example of the process performed by information processing apparatus. 情報処理装置により行われる処理の一例を示す図である。It is a figure which shows an example of the process performed by information processing apparatus. 情報処理装置により行われる他の処理の一例を示す図である。It is a figure which shows an example of another process performed by an information processing apparatus. 情報処理装置により行われる他の処理の一例を示す図である。It is a figure which shows an example of another process performed by an information processing apparatus. 情報処理装置により行われる処理の一例を示す図である。It is a figure which shows an example of the process performed by information processing apparatus. 本発明の第1の実施形態において説明する情報処理装置がアンロード処理を実行する際の流れの一例を示すフローチャートである。4 is a flow chart showing an example of the flow when the information processing apparatus described in the first embodiment of the present invention executes unload processing; 情報処理装置がロード処理する際の流れの一例を示すフローチャートである。7 is a flow chart showing an example of a flow when an information processing device performs load processing; 本発明の第2の実施形態における情報処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the information processing apparatus in the 2nd Embodiment of this invention.

[第1の実施形態]
本発明の第1の実施形態を図1から図12までを参照して説明する。図1は、情報処理装置100の構成の一例を示すブロック図である。図2は、OSが管理する仮想記憶空間の一例を示す図である。図3は、退避状況管理テーブル116の一例を示す図である。図4から図10は、情報処理装置100により行われる処理の一例を示す図である。図11は、情報処理装置100がアンロード処理を実行する際の流れの一例を示すフローチャートである。図12は、情報処理装置100がロード処理する際の流れの一例を示すフローチャートである。
[First embodiment]
A first embodiment of the present invention will be described with reference to FIGS. 1 to 12. FIG. FIG. 1 is a block diagram showing an example of the configuration of an information processing apparatus 100. As shown in FIG. FIG. 2 is a diagram showing an example of a virtual storage space managed by an OS. FIG. 3 is a diagram showing an example of the evacuation status management table 116. As shown in FIG. 4 to 10 are diagrams showing an example of processing performed by the information processing apparatus 100. FIG. FIG. 11 is a flowchart showing an example of the flow when the information processing apparatus 100 executes unload processing. FIG. 12 is a flowchart showing an example of the flow when the information processing apparatus 100 performs load processing.

本発明の第1の実施形態では、アーキテクチャの拡大などによりOS110(Operating System:オペレーティングシステム)が管理する仮想記憶空間が拡大されている情報処理装置100について説明する。後述するように、本実施形態の場合、OS110は、削除対象のプログラムを仮想記憶空間中の従来空間から拡張空間に退避させる。また、OS110は、退避状況管理テーブル116を更新することで、プログラムの退避状況を管理する。このような構成により、OS110は、拡張された空間に対応していないプログラムなどにおいても、拡張空間を有効的に活用することを可能とする。 In the first embodiment of the present invention, an information processing apparatus 100 in which a virtual storage space managed by an OS 110 (Operating System) is expanded due to expansion of architecture or the like will be described. As will be described later, in the case of this embodiment, the OS 110 saves the program to be deleted from the conventional space in the virtual storage space to the extended space. The OS 110 also manages the save status of the program by updating the save status management table 116 . With such a configuration, the OS 110 can effectively utilize the extended space even in programs that do not support the extended space.

なお、本実施形態においては、情報処理装置100は以下の前提を有する。まず、仮想記憶空間は論理的なコード・データの集合であるセグメントによって仮想記憶空間が構成されているとする。また、主記憶装置120の割り当てが固定長のページ単位で行われ、ページによってセグメントが構成されているものとする。なお、本発明は、本実施形態で例示する構成以外に適用しても構わない。 In addition, in this embodiment, the information processing apparatus 100 has the following premises. First, it is assumed that the virtual storage space is composed of segments, which are groups of logical code data. It is also assumed that the allocation of the main storage device 120 is performed in units of fixed-length pages, and that the pages constitute segments. Note that the present invention may be applied to configurations other than those exemplified in this embodiment.

情報処理装置100は、1つまたは複数のプログラムを含むジョブを実行することが出来る。情報処理装置100で実行するプログラムは、拡張空間に対応していても構わないし、拡張空間に対応していなくても構わない。 The information processing apparatus 100 can execute jobs including one or more programs. The program executed by the information processing apparatus 100 may or may not support the extended space.

図1は、本実施形態に特徴的な情報処理装置100の構成の一例を示している。図1を参照すると、情報処理装置100では、OS110が機能している。また、情報処理装置100は、主記憶装置120と、ディスク装置130と、を有している。 FIG. 1 shows an example of the configuration of an information processing apparatus 100 that is characteristic of this embodiment. Referring to FIG. 1 , an OS 110 functions in the information processing apparatus 100 . The information processing device 100 also has a main storage device 120 and a disk device 130 .

なお、情報処理装置100は、CPUなどの演算装置と記憶装置とを有している。例えば、情報処理装置100は、記憶装置が記憶するプログラムを演算装置が実行することで、上記OS110やOS110が有する各種機能を実現する。 The information processing apparatus 100 has an arithmetic device such as a CPU and a storage device. For example, the information processing apparatus 100 implements the above-described OS 110 and various functions of the OS 110 by executing a program stored in a storage device by an arithmetic device.

OS110は、アーキテクチャの拡張により、管理する仮想記憶空間が拡張されている。図2は、拡張された仮想記憶空間の一例を示している。図2で示すように、OS110は、拡張前の空間である従来空間に加えて、拡張された空間である拡張空間も管理している。このように、本実施形態の場合、OS110は、拡張された仮想記憶空間を管理する。 The OS 110 has an extended virtual memory space to manage due to an extended architecture. FIG. 2 shows an example of expanded virtual storage space. As shown in FIG. 2, the OS 110 manages not only the conventional space, which is the space before expansion, but also the expanded space, which is the expanded space. Thus, in this embodiment, the OS 110 manages the extended virtual storage space.

ここで、情報処理装置100で実行可能なプログラムのうち拡張空間に対応していないプログラムは、拡張空間に対応するための改修前の状態において、拡張空間を使うことが出来ない。そのため、改修前の状態の場合、従来空間に空きがなくなった状態で新しいプログラムをロードするためには、従来空間からプログラムを削除して従来空間に空きを確保することが必要になる。拡張空間を使えるようにするためには、プログラムが拡張空間に対応するよう、プログラムを改修することが必要である。しかしながら、プログラムの改修は、必ずしも容易ではない。 Here, among the programs that can be executed by the information processing apparatus 100, programs that are not compatible with the extended space cannot use the extended space in the state before modification to support the extended space. Therefore, in the state before the modification, in order to load a new program when the conventional space is full, it is necessary to delete the program from the conventional space to secure the space in the conventional space. In order to be able to use the extended space, it is necessary to modify the program so that it supports the extended space. However, program modification is not always easy.

そこで、本実施形態において説明するOS110は、プログラムが未改修の場合でも拡張空間を有効的に活用するための構成を有する。例えば、OS110は、拡張空間を有効的に活用するための構成として、判別部111と、退避部112と、解放部113と、ロード部114と、を有する。また、OS110は、ページテーブル115と、退避状況管理テーブル116と、を管理する。 Therefore, the OS 110 described in this embodiment has a configuration for effectively utilizing the expansion space even if the program has not been modified. For example, the OS 110 has a determination unit 111, a save unit 112, a release unit 113, and a load unit 114 as a configuration for effectively utilizing the expansion space. Also, the OS 110 manages a page table 115 and an evacuation status management table 116 .

判別部111は、従来空間からプログラムを削除する際、削除対象のプログラムを拡張空間に退避するか否か判別する。例えば、判別部111は、退避状況管理テーブル116を確認する。そして、判別部111は、退避状況管理テーブル116に登録されている情報(プログラム情報)に基づいて、削除対象のプログラムを拡張空間に退避するか否か判別する。 When deleting a program from the conventional space, the determining unit 111 determines whether or not to save the program to be deleted to the extended space. For example, the determination unit 111 checks the evacuation status management table 116 . Based on the information (program information) registered in the evacuation status management table 116, the determination unit 111 determines whether or not to evacuate the program to be deleted to the expansion space.

例えば、退避状況管理テーブル116にプログラム名など削除対象のプログラムを示すプログラム情報が登録されている場合、判別部111は、削除対象のプログラムが既に拡張空間に退避されていると判断する。この場合、判別部111は、削除対象のプログラムを新たに拡張空間に退避しないと決定する。そして、判別部111は、削除対象のプログラムを拡張空間に退避しない旨を解放部113に通知する。一方、退避状況管理テーブル116に削除対象のプログラムを示す情報が登録されていない場合、判別部111は、削除対象のプログラムが拡張空間に退避されていないと判断する。この場合、判別部111は、削除対象のプログラムを拡張空間に退避すると決定する。そして、判別部111は、削除対象のプログラムを拡張空間に退避する旨を退避部112に通知する。 For example, when program information indicating a program to be deleted, such as a program name, is registered in the save status management table 116, the determining unit 111 determines that the program to be deleted has already been saved to the expansion space. In this case, the determination unit 111 determines not to newly save the deletion target program to the expansion space. Then, the determination unit 111 notifies the release unit 113 that the program to be deleted will not be saved in the expansion space. On the other hand, when the information indicating the program to be deleted is not registered in the save status management table 116, the determination unit 111 determines that the program to be deleted has not been saved in the extended space. In this case, the determination unit 111 determines to save the deletion target program to the expansion space. Then, the determining unit 111 notifies the saving unit 112 that the program to be deleted is to be saved in the expansion space.

なお、本実施形態においては、削除対象のプログラムの選択方法については特に限定しない。情報処理装置100(例えば、判別部111)は、任意の方法を用いて、従来空間にロードされているプログラムの中から削除対象のプログラムを選択することが出来る。例えば、判別部111は、プログラムをロードした時間、プログラムの使用の有無、プログラムを最後に使用してからの経過時間、などに基づいて、削除対象のプログラムを選択することが出来る。 Note that, in the present embodiment, the method of selecting a program to be deleted is not particularly limited. The information processing apparatus 100 (for example, the determination unit 111) can select a program to be deleted from programs loaded in the conventional space using an arbitrary method. For example, the determination unit 111 can select a program to be deleted based on the time when the program was loaded, whether the program is used, the elapsed time since the program was last used, and the like.

また、判別部111は、退避状況管理テーブル116に基づいて削除対象のプログラムを選択するよう構成しても構わない。例えば、判別部111は、退避状況管理テーブル116にプログラムが登録されている場合、当該登録されているプログラムを優先的に削除対象とするよう構成することが出来る。また、例えば、判別部111は、拡張空間の空きが予め定められた閾値以下となるまで、退避状況管理テーブル116に登録されていないプログラムを削除対象とするよう構成しても構わない。 Further, the determination unit 111 may be configured to select a program to be deleted based on the evacuation status management table 116 . For example, when a program is registered in the evacuation status management table 116, the determination unit 111 can be configured to preferentially target the registered program for deletion. Further, for example, the determination unit 111 may be configured to delete programs that are not registered in the evacuation status management table 116 until the free space of the expansion space becomes equal to or less than a predetermined threshold value.

判別部111は、上述した複数の方法の組み合わせ、または、上述した方法と既知の方法との組み合わせにより、削除対象のプログラムを選択するよう構成しても構わない。 The determination unit 111 may be configured to select a program to be deleted by a combination of a plurality of methods described above, or a combination of the above method and a known method.

退避部112は、判別部111が削除対象のプログラムを拡張空間に退避すると決定した場合、削除対象のプログラムの退避処理を行う。例えば、退避部112は、削除対象のプログラムが従来空間で使用していたセグメント(旧セグメント)と同数のセグメント(新セグメント)を拡張空間に確保する。そして、退避部112は旧セグメントを構成していたページを、新セグメントを構成するページとして紐づける。これは、例えば、セグメント記述子内に格納されるページテーブルアドレスを、旧セグメントから新セグメントにコピーするだけでよい。このように、退避部112は、ページテーブル115のうち物理アドレスを変えることなく論理アドレスのみを変更することで、削除対象のプログラムを拡張空間内に退避する。削除対象のプログラムを拡張空間内に退避した後、退避部112は、退避が完了した旨を解放部113に通知する。 When the determining unit 111 determines to save the program to be deleted in the extended space, the saving unit 112 saves the program to be deleted. For example, the saving unit 112 secures in the expansion space the same number of segments (old segments) used in the conventional space by the program to be deleted (new segments). Then, the saving unit 112 associates the pages forming the old segment with the pages forming the new segment. This may, for example, simply copy the page table address stored in the segment descriptor from the old segment to the new segment. In this way, the saving unit 112 saves the program to be deleted in the extension space by changing only the logical address without changing the physical address in the page table 115 . After saving the program to be deleted in the expansion space, the save unit 112 notifies the release unit 113 that the save has been completed.

また、退避部112は、削除対象のプログラムを退避する際、退避状況管理テーブル116の更新を行う。例えば、退避部112は、削除対象のプログラムを拡張空間に退避すると、退避したプログラムを示すプログラム情報(例えば、プログラム名、ライブラリ名など)を退避状況管理テーブル116に登録する。このような処理により、退避状況管理テーブル116には、拡張空間に退避されたプログラムを示すプログラム情報が登録される。 In addition, the saving unit 112 updates the save status management table 116 when saving the program to be deleted. For example, after saving a program to be deleted in the expansion space, the saving unit 112 registers program information (for example, program name, library name, etc.) indicating the saved program in the saving status management table 116 . Through such processing, the program information indicating the programs saved in the expansion space is registered in the save status management table 116 .

なお、退避部112が登録するプログラム情報は、プログラム名やライブラリ名などを含むことが出来る。退避部112は、上記例示した以外の情報を含むプログラム情報を登録するよう構成しても構わない。 Note that the program information registered by the saving unit 112 can include a program name, a library name, and the like. The saving unit 112 may be configured to register program information including information other than the above examples.

解放部113は、削除対象のプログラムを解放する。例えば、解放部113は、判別部111から削除対象のプログラムを拡張空間に退避しない旨の通知を受信する。または、解放部113は、退避部112から退避が完了した旨の通知を受信する。すると、解放部113は、例えば、従来空間で使用していたセグメントである旧セグメントのセグメント記述子を初期化して、旧セグメントを解放する。 The release unit 113 releases the program to be deleted. For example, the release unit 113 receives a notification from the determination unit 111 to the effect that the program to be deleted will not be saved in the expansion space. Alternatively, the releasing unit 113 receives a notification from the saving unit 112 that the saving has been completed. The releasing unit 113 then initializes the segment descriptor of the old segment, which is the segment used in the conventional space, and releases the old segment.

なお、退避部112の処理により、削除対象のプログラムは事前に拡張空間に退避している。解放部113が旧セグメントを解放しても、新セグメントの方は解放されず残り続けることになる。 Note that the program to be deleted is previously saved in the expansion space by the processing of the saving unit 112 . Even if the release unit 113 releases the old segment, the new segment continues to remain without being released.

ロード部114は、プログラムのロードを行う。例えば、ロード部114は、従来空間に空きがあるか否か確認する。そして、従来空間中に空きがない場合、ロード部114は、従来空間に空きを確保する。空きの確保は、例えば、ロード部114が削除対象のプログラムを選択するよう判別部111に指示することで、上述した一連の処理により行うことが出来る。 The loading unit 114 loads programs. For example, the loading unit 114 confirms whether or not there is an empty space in the conventional space. Then, if there is no space in the conventional space, the loading section 114 secures a space in the conventional space. For example, the loading unit 114 instructs the determination unit 111 to select a program to be deleted, so that the above-described series of processing can be performed to secure the space.

ロード部114による判別部111に対する指示の結果、解放部113により従来空間に空きが確保された後、または、従来空間に空きがある場合、ロード部114は、退避状況管理テーブル116を参照する。そして、ロード部114は、退避状況管理テーブル116に基づいて、従来空間にロードする対象となるプログラムが拡張空間に退避されているか否か確認する。 After the release unit 113 secures an empty space in the conventional space as a result of the instruction to the determination unit 111 by the loading unit 114 , or when there is an empty space in the conventional space, the loading unit 114 refers to the evacuation status management table 116 . Then, the loading unit 114 confirms whether or not the program to be loaded into the conventional space has been saved in the expansion space based on the save status management table 116 .

退避状況管理テーブル116にロード対象のプログラムを示すプログラム情報が登録されている場合、ロード部114は、ロード対象のプログラムが拡張空間に退避されていると判断する。そして、ロード部114は、拡張空間からロード対象のプログラムをロードすると決定して、ロード対象のプログラムを拡張空間からロードする。拡張空間からのロードは、セグメント記述子内のページテーブルアドレスを拡張空間のセグメントから従来空間のセグメントにコピーするだけで行うことが出来る。つまり、ロード部114は、ページテーブル115のうち物理アドレスを変えることなく論理アドレスのみを変更することで、ロード対象のプログラムを従来空間内にロードする。このように、ロード部114は、ロード対象のプログラムが拡張空間に退避されている場合、ディスク装置130からではなく拡張空間からプログラムをロードする。そのため、高速にロードすることが出来る。 When program information indicating a program to be loaded is registered in the save status management table 116, the loading unit 114 determines that the program to be loaded is saved in the expansion space. Then, the loading unit 114 determines to load the load target program from the expansion space, and loads the load target program from the expansion space. Loading from extended space can be accomplished by simply copying the page table address in the segment descriptor from the extended space segment to the conventional space segment. In other words, the load unit 114 loads the program to be loaded into the conventional space by changing only the logical address without changing the physical address in the page table 115 . Thus, when the program to be loaded has been saved in the expansion space, the loading unit 114 loads the program from the expansion space instead of from the disk device 130 . Therefore, it can be loaded at high speed.

一方、退避状況管理テーブル116にロード対象のプログラムを示すプログラム情報が登録されていない場合、ロード部114は、ロード対象のプログラムが拡張空間に退避されていないと判断する。そして、ロード部114は、ディスク装置130上のライブラリファイルからロード対象のプログラムをロードすることを決定して、ロード対象のプログラムをディスク装置130からロードする。ディスク装置130上のライブラリファイルからロードする処理は、従来通りの処理と同様で構わない。 On the other hand, if program information indicating the program to be loaded is not registered in the save status management table 116, the loading unit 114 determines that the program to be loaded has not been saved to the expansion space. The load unit 114 then determines to load the program to be loaded from the library file on the disk device 130 and loads the program to be loaded from the disk device 130 . The process of loading from the library file on the disk device 130 may be the same as the conventional process.

以上のように、ロード部114は、ロード対象のプログラムが拡張空間に退避している場合と退避していない場合とで、異なる場所からロード対象のプログラムをロードする。 As described above, the loading unit 114 loads the load target program from different locations depending on whether the load target program has been saved in the expansion space or not.

ページテーブル115は、仮想アドレスと、物理アドレスとを対応づけている。ページテーブル115の構成は、既知のもので構わない。 The page table 115 associates virtual addresses with physical addresses. The configuration of the page table 115 may be a known one.

退避状況管理テーブル116には、拡張空間に退避されているプログラムを示すプログラム情報を登録することが出来る。図3は、退避状況管理テーブル116の構成の一例を示している。図3を参照すると、退避状況管理テーブル116には、退避空間に退避されているプログラムを示すプログラム情報が含まれている。プログラム情報には、例えば、プログラム名やライブラリ名などを含めることが出来る。プログラム情報は、上記例示した以外の情報を含んでいても構わない。 Program information indicating programs saved in the expansion space can be registered in the save status management table 116 . FIG. 3 shows an example of the configuration of the evacuation status management table 116. As shown in FIG. Referring to FIG. 3, the save status management table 116 contains program information indicating programs saved in the save space. The program information can include, for example, the program name and library name. The program information may contain information other than those exemplified above.

上述したように、退避状況管理テーブル116は、退避部112がプログラムを拡張空間に退避する際に更新される。このため、退避状況管理テーブル116には、拡張空間に退避されているプログラム情報が登録される。 As described above, the saving status management table 116 is updated when the saving unit 112 saves the program to the expansion space. Therefore, the program information saved in the expansion space is registered in the save status management table 116 .

なお、退避状況管理テーブル116は、例えば、ジョブごとに定義される。つまり、情報処理装置100は、ジョブごとに異なる退避状況管理テーブルを有することが出来る。退避状況管理テーブルは、複数のジョブで共通なものとなるよう構成しても構わない。 Note that the evacuation status management table 116 is defined for each job, for example. In other words, the information processing apparatus 100 can have a different evacuation status management table for each job. The evacuation status management table may be configured so as to be common to a plurality of jobs.

主記憶装置120は、情報処理装置100が有するCPUなどの演算装置により直接読み書き可能なメモリである。本実施形態においては、主記憶装置120の構成は特に限定しない。 The main memory device 120 is a memory that can be directly read and written by an arithmetic device such as a CPU included in the information processing device 100 . In this embodiment, the configuration of the main storage device 120 is not particularly limited.

ディスク装置130は、ハードディスクドライブなどの記憶装置である。ディスク装置130は、SSD(Solid State Drive)などの記憶装置であっても構わない。 The disk device 130 is a storage device such as a hard disk drive. The disk device 130 may be a storage device such as an SSD (Solid State Drive).

以上が、情報処理装置100の構成の一例である。 The above is an example of the configuration of the information processing apparatus 100 .

なお、仮想記憶空間のうち従来空間は、拡張空間に対応していないプログラムも利用可能な空間である。そのため、従来空間は、拡張に対応していないプログラムが利用可能な空間である、ということも出来る。また、仮想記憶空間のうち拡張空間は、拡張空間に対応していないプログラムが利用できない空間である。そのため、拡張空間は、拡張に対応していないプログラムが利用できない空間である、ということも出来る。 Of the virtual storage spaces, the conventional space is a space that can also be used by programs that are not compatible with the extended space. Therefore, it can be said that the conventional space is a space that can be used by programs that do not support expansion. The extended space in the virtual storage space is a space that cannot be used by programs that do not support extended space. Therefore, it can be said that the expansion space is a space that cannot be used by programs that do not support expansion.

続いて、図4から図12までを参照して、プログラムを退避する際とロードする際の処理の一例について説明する。 Next, an example of processing when saving and loading a program will be described with reference to FIGS. 4 to 12. FIG.

まず、図4から図8、図11を参照して、プログラムをアンロードする際の処理の一例について説明する。プログラムのアンロードは、例えば、情報処理装置100で実行するジョブが新しいプログラムをロードしようとする際に従来空間に空きがなかった場合などに行われる。プログラムのアンロードは、任意のタイミングで行われても構わない。 First, an example of processing when a program is unloaded will be described with reference to FIGS. 4 to 8 and 11. FIG. A program is unloaded, for example, when a job to be executed by the information processing apparatus 100 attempts to load a new program and there is no space in the conventional space. Program unloading may be performed at any time.

情報処理装置100、または、判別部111は、任意の方法で削除対象のプログラムを選別する。そして、図11で示すように、判別部111は、退避状況管理テーブル116を確認することで、削除対象のプログラムを拡張空間に退避するか否か判別する(ステップS101)。 The information processing apparatus 100 or the determination unit 111 selects programs to be deleted by any method. Then, as shown in FIG. 11, the determination unit 111 checks the save status management table 116 to determine whether or not to save the program to be deleted to the expansion space (step S101).

退避状況管理テーブル116にプログラム名など削除対象のプログラムを示す情報が登録されていない場合(ステップS101 No、図4の1-1)、判別部111は、削除対象のプログラムを拡張空間に退避すると決定する。そして、判別部111は、削除対象のプログラムを拡張空間に退避する旨を退避部112に通知する。 When information indicating a program to be deleted, such as a program name, is not registered in the save status management table 116 (step S101 No, 1-1 in FIG. 4), the determining unit 111 saves the program to be deleted to the expansion space. decide. Then, the determining unit 111 notifies the saving unit 112 that the program to be deleted is to be saved in the expansion space.

退避部112は、削除対象のプログラムの退避処理を行う(ステップS102、図5の1-2)。拡張空間内の退避場所は任意の方法で決定して構わない。また、退避部112は、退避状況管理テーブル116の更新を行う(ステップS103、図5の1-3)。つまり、退避部112は、退避したプログラムを示すプログラム情報を退避状況管理テーブル116に登録する。 The saving unit 112 saves the program to be deleted (step S102, 1-2 in FIG. 5). Any method may be used to determine the save location in the expansion space. Also, the evacuation unit 112 updates the evacuation status management table 116 (step S103, 1-3 in FIG. 5). In other words, the saving unit 112 registers the program information indicating the saved program in the saving status management table 116 .

解放部113は、従来空間から削除対象のプログラムを解放することで、プログラムを削除する(ステップS104、図6の1-4)。 The release unit 113 deletes the program by releasing it from the conventional space (step S104, 1-4 in FIG. 6).

また、退避状況管理テーブル116にプログラム名など削除対象のプログラムを示す情報が記載されている場合(ステップS101 Yes、図7の1-1b)、判別部111は、削除対象のプログラムが拡張空間に退避されていると判断する。この場合、ステップS102、ステップS103の処理は行われず、解放部113は、従来空間から削除対象のプログラムを解放することで、プログラムを削除する(ステップS104、図8の1-2b)。 If information indicating a program to be deleted, such as a program name, is described in the evacuation status management table 116 (step S101 Yes, 1-1b in FIG. 7), the determination unit 111 determines whether the program to be deleted is stored in the extended space. It is judged that it has been evacuated. In this case, the processes of steps S102 and S103 are not performed, and the release unit 113 releases the program to be deleted from the conventional space, thereby deleting the program (step S104, 1-2b in FIG. 8).

以上が、プログラムをアンロードする際の処理の一例である。続いて、図9、図10、図12を参照して、プログラムをロードする際の処理の一例について説明する。 The above is an example of processing when a program is unloaded. Next, an example of processing when loading a program will be described with reference to FIGS. 9, 10, and 12. FIG.

図12を参照すると、ロード部114は、従来空間に空きがあるか否か確認する(ステップS201)。 Referring to FIG. 12, the loading unit 114 confirms whether or not there is an empty space in the conventional space (step S201).

従来空間中に空きがない場合(ステップS201 No)、ロード部114は、従来空間に空きを確保する。空きの確保は、例えば、ロード部114が削除対象のプログラムを選択するよう判別部111に指示することで、図11を参照して説明した一連の処理により行うことが出来る(ステップS202)。従来空間に空きを確保する処理の詳細な説明は、図11を参照して既に行ったため省略する。 If there is no space in the conventional space (step S201 No), the loading unit 114 secures space in the conventional space. For example, the loading unit 114 instructs the determination unit 111 to select a program to be deleted, so that the space can be secured by the series of processes described with reference to FIG. 11 (step S202). A detailed description of the processing for securing an empty space in the conventional space is omitted because it has already been described with reference to FIG.

従来空間に空きを確保した後(ステップS202の後)、又は、従来空間に空きがある場合(ステップS201 Yes)、ロード部114は、退避状況管理テーブル116を参照して、従来空間にロードする対象となるプログラムが拡張空間に退避されているか否か確認する(ステップS203)。 After securing space in the conventional space (after step S202), or when there is space in the conventional space (Yes in step S201), the loading unit 114 refers to the evacuation status management table 116 and loads the data into the conventional space. It is checked whether or not the target program has been saved in the expansion space (step S203).

退避状況管理テーブル116にロード対象のプログラムを示す情報が登録されている場合(ステップS203 Yes、図9の2-1)、ロード部114は、ロード対象のプログラムが拡張空間に退避されていると判断する。そして、ロード部114は、拡張空間からロード対象のプログラムをロードする(ステップS205、図9の2-2)。 When information indicating the program to be loaded is registered in the evacuation status management table 116 (Yes in step S203, 2-1 in FIG. 9), the loading unit 114 determines that the program to be loaded has been evacuated to the expansion space. to decide. Then, the loading unit 114 loads the program to be loaded from the expansion space (step S205, 2-2 in FIG. 9).

一方、退避状況管理テーブル116にロード対象のプログラムを示す情報が登録されていない場合(ステップS203 No、図10の2-1b)、ロード部114は、ロード対象のプログラムが拡張空間に退避されていないと判断する。この場合、ロード部114は、ディスク装置130上のライブラリファイルからロード対象のプログラムをロードする(ステップS204、図10の2-2b)。 On the other hand, if the information indicating the program to be loaded is not registered in the save status management table 116 (No in step S203, 2-1b in FIG. 10), the loading unit 114 detects whether the program to be loaded has been saved in the expansion space. judge not. In this case, the loading unit 114 loads the program to be loaded from the library file on the disk device 130 (step S204, 2-2b in FIG. 10).

以上が、プログラムをロードする際の処理の一例である。 The above is an example of processing when loading a program.

このように、情報処理装置100は、退避部112と解放部113とを有している。このような構成により、解放部113は、退避部112により従来空間から拡張空間に削除対象のプログラムを退避させた後に、削除対象のプログラムを従来空間から解放することが出来る。これにより、拡張空間に対応していないプログラムであっても拡張空間を活用することが可能となる。また、その結果として、拡張空間に退避させたプログラムをロードする際に、高速にロードすることが可能となる。また、ディスクへのI/Oを抑制することが可能となり、ジョブの実行性能低下を抑制することが可能となる。 As described above, the information processing apparatus 100 has the save unit 112 and the release unit 113 . With such a configuration, the releasing unit 113 can release the program to be deleted from the conventional space after the saving unit 112 has saved the program to be deleted from the conventional space to the extended space. As a result, even a program that does not support the extended space can utilize the extended space. Moreover, as a result, when loading the program saved in the expansion space, it becomes possible to load the program at high speed. In addition, it is possible to suppress I/O to the disk, and it is possible to suppress deterioration in job execution performance.

また、本実施形態における情報処理装置100は、判別部111を有している。このような構成により、上述した退避部112は、判別部111による判別の結果に応じて、プログラムを拡張空間に退避させることが可能となる。これにより、退避が必要なプログラムのみを効率的に退避させることが可能となる。 Further, the information processing apparatus 100 according to the present embodiment has a discrimination section 111 . With such a configuration, the saving unit 112 described above can save the program to the expansion space according to the determination result of the determining unit 111 . This makes it possible to efficiently save only the programs that need to be saved.

また、本実施形態における情報処理装置100は、ロード部114を有している。このような構成により、ロード部114は、拡張空間からロードが可能なプログラムを拡張空間からロードすることが出来る。これにより、高速なロードを実現することが出来る。 Further, the information processing apparatus 100 according to this embodiment has a loading unit 114 . With such a configuration, the loading unit 114 can load a program that can be loaded from the extension space from the extension space. As a result, high-speed loading can be realized.

なお、本実施形態において説明した情報処理装置100は、あくまで一例である。情報処理装置100の構成は、本実施形態で説明した場合に限定されない。 Note that the information processing apparatus 100 described in the present embodiment is merely an example. The configuration of the information processing apparatus 100 is not limited to that described in this embodiment.

例えば、本実施形態においては、情報処理装置100がディスク装置130を有するとした。しかしながら、ディスク装置130は、情報処理装置100の外部に有していても構わない。また、本実施形態においてはOS110が各機能を有するとしたが、OS110とは別の機能として、判別部111、退避部112、解放部113、ロード部114のうちの少なくとも一部を実現しても構わない。また、情報処理装置100が有する各構成は、メモリ管理を行うメモリ管理装置として実現されても構わない。 For example, in this embodiment, the information processing device 100 has the disk device 130 . However, the disk device 130 may be provided outside the information processing device 100 . In this embodiment, the OS 110 has each function. I don't mind. Also, each component of the information processing apparatus 100 may be implemented as a memory management apparatus that performs memory management.

[第2の実施形態]
次に、図13を参照して、本発明の第2の実施形態について説明する。第2の実施形態では、情報処理装置200の構成の概要について説明する。
[Second embodiment]
A second embodiment of the present invention will now be described with reference to FIG. In the second embodiment, an overview of the configuration of the information processing apparatus 200 will be described.

情報処理装置200は、オペレーションシステムが管理する仮想記憶空間が拡張されている。つまり、拡張前の仮想記憶空間である従来空間に拡張された仮想記憶空間である拡張空間が追加されている。 The information processing device 200 has an extended virtual storage space managed by the operating system. In other words, the extended space, which is the expanded virtual storage space, is added to the conventional space, which is the virtual storage space before expansion.

図13は、情報処理装置200の構成の一例を示している。図13を参照すると、情報処理装置200は、退避部210と、解放部220と、を有している。 FIG. 13 shows an example of the configuration of the information processing device 200. As shown in FIG. Referring to FIG. 13 , the information processing device 200 has a save section 210 and a release section 220 .

例えば、情報処理装置200は、CPUなどの演算装置と記憶装置とを有している。情報処理装置200は、記憶装置が記憶するプログラムを演算装置が実行することで、上記各処理部を実現する。 For example, the information processing device 200 has an arithmetic device such as a CPU and a storage device. The information processing apparatus 200 implements each of the processing units described above by causing the arithmetic device to execute a program stored in the storage device.

退避部210は、拡張前の仮想記憶空間である従来空間からプログラムを削除する際、従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる。 When deleting a program from the conventional space, which is the virtual storage space before expansion, the saving unit 210 saves the program to be deleted to the expansion space, which is the virtual storage space expanded from the conventional space.

解放部220は、退避部210による退避の後、従来空間から削除対象のプログラムを解放する。 The releasing unit 220 releases the program to be deleted from the conventional space after the saving by the saving unit 210 .

このように、情報処理装置200は、退避部210と解放部220とを有している。このような構成により、解放部220は、退避部210により従来空間から拡張空間に削除対象のプログラムを退避させた後に、削除対象のプログラムを従来空間から解放することが出来る。これにより、拡張空間に対応していないプログラムであっても拡張空間を活用することが可能となる。 As described above, the information processing device 200 has the save unit 210 and the release unit 220 . With such a configuration, the releasing unit 220 can release the program to be deleted from the conventional space after the saving unit 210 has saved the program to be deleted from the conventional space to the extended space. As a result, even a program that does not support the extended space can utilize the extended space.

また、上述した情報処理装置200は、当該情報処理装置200に所定のプログラムが組み込まれることで実現できる。具体的に、本発明の他の形態であるプログラムは、オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、拡張前の仮想記憶空間である従来空間からプログラムを削除する際、従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、退避部による退避の後、従来空間から削除対象のプログラムを解放する解放部と、を実現するためのプログラムである。 Further, the information processing apparatus 200 described above can be realized by installing a predetermined program in the information processing apparatus 200 . Specifically, when deleting a program from a conventional space, which is a virtual storage space before expansion, in an information processing apparatus in which a virtual storage space managed by an operating system has been expanded, a program, which is another aspect of the present invention, is deleted from the conventional space. To implement a saving unit that saves a program to be deleted in an extended space, which is a virtual storage space expanded from the space, and a releasing unit that releases the program to be deleted from the conventional space after saving by the saving unit. It's a program.

また、上述した情報処理装置200により実行される情報処理方法は、オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、拡張前の仮想記憶空間である従来空間からプログラムを削除する際、従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、退避の後、従来空間から削除対象のプログラムを解放する、という方法である。 Further, the information processing method executed by the information processing apparatus 200 described above is an information processing method executed by the information processing apparatus in which the virtual storage space managed by the operating system is expanded, and is the virtual storage space before expansion. In this method, when deleting a program from the conventional space, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space, and after saving, the program to be deleted is released from the conventional space. .

上述した構成を有する、プログラム、又は、情報処理方法、の発明であっても、上記情報処理装置200と同様の作用・効果を有するために、上述した本発明の目的を達成することが出来る。 Even the invention of the program or the information processing method having the configuration described above can achieve the above-described object of the present invention because it has the same actions and effects as the information processing apparatus 200 described above.

<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明における情報処理装置などの概略を説明する。但し、本発明は、以下の構成に限定されない。
<Appendix>
Some or all of the above embodiments may also be described as the following appendices. An outline of an information processing apparatus and the like according to the present invention will be described below. However, the present invention is not limited to the following configurations.

(付記1)
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を有する
情報処理装置。
(付記2)
付記1に記載の情報処理装置であって、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を有し、
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させる
情報処理装置。
(付記3)
付記2に記載の情報処理装置であって、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
情報処理装置。
(付記4)
付記2または付記3に記載の情報処理装置であって、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されている場合、削除対象のプログラムを前記拡張空間に退避しないと決定し、
前記解放部は、前記判別部が前記拡張空間に退避しないと判断したプログラムを前記従来空間から解放する
情報処理装置。
(付記5)
付記2から付記4までのいずれか1項に記載の情報処理装置であって、
前記判別部は、前記拡張空間に退避されているプログラムを示す情報に基づいて、削除対象のプログラムを選択する
情報処理装置。
(付記6)
付記1から付記5までのいずれか1項に記載の情報処理装置であって、
ロード対象のプログラムが前記拡張空間に退避しているか否かに基づいて、ロード対象のプログラムをロードするロード部を有する
情報処理装置。
(付記7)
付記6に記載の情報処理装置であって、
前記ロード部は、ロード対象のプログラムが前記拡張空間に退避している場合、ロード対象のプログラムを前記拡張空間から前記従来空間にロードする
情報処理装置。
(付記8)
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、
退避の後、前記従来空間から削除対象のプログラムを解放する
情報処理方法。
(付記9)
付記8に記載の情報処理方法であって、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定し、
決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させる
情報処理方法。
(付記10)
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を実現するためのプログラム。
(Appendix 1)
An information processing device in which a virtual storage space managed by an operating system is expanded,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
An information processing device.
(Appendix 2)
The information processing device according to Supplementary Note 1,
a determination unit that checks whether or not a program to be deleted has been saved in the extension space, and determines whether or not to save the program to be deleted in the extension space based on the result of confirmation;
The information processing apparatus, wherein the saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit.
(Appendix 3)
The information processing device according to appendix 2,
The determination unit determines to save the program to be deleted in the extended space when the program to be deleted is not saved in the extended space.
(Appendix 4)
The information processing device according to Supplementary Note 2 or Supplementary Note 3,
the determining unit determines not to save the program to be deleted in the extended space when the program to be deleted is saved in the extended space;
The information processing apparatus, wherein the release unit releases the program, which the determination unit has determined not to save to the expansion space, from the conventional space.
(Appendix 5)
The information processing device according to any one of Supplements 2 to 4,
The information processing device, wherein the determination unit selects a program to be deleted based on information indicating the programs saved in the extension space.
(Appendix 6)
The information processing device according to any one of Supplements 1 to 5,
An information processing apparatus comprising a loading unit that loads a program to be loaded based on whether the program to be loaded has been saved in the extension space.
(Appendix 7)
The information processing device according to appendix 6,
The information processing apparatus, wherein the loading unit loads the program to be loaded from the extension space to the conventional space when the program to be loaded has been saved in the extension space.
(Appendix 8)
An information processing method performed by an information processing device in which a virtual storage space managed by an operating system is expanded,
When deleting a program from a conventional space, which is a virtual storage space before expansion, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space,
An information processing method for releasing a program to be deleted from the conventional space after saving.
(Appendix 9)
The information processing method according to appendix 8,
confirming whether or not the program to be deleted has been saved in the extension space, and based on the result of confirmation, deciding whether to save the program to be deleted in the extension space;
An information processing method for saving a program to be deleted in the extension space based on a determination result.
(Appendix 10)
In an information processing device with an expanded virtual storage space managed by an operating system,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
A program to realize

なお、上記各実施形態及び付記において記載したプログラムは、記憶装置に記憶されていたり、コンピュータが読み取り可能な記録媒体に記録されていたりする。例えば、記録媒体は、フレキシブルディスク、光ディスク、光磁気ディスク、及び、半導体メモリ等の可搬性を有する媒体である。 It should be noted that the programs described in each of the above embodiments and supplementary notes are stored in a storage device or recorded in a computer-readable recording medium. For example, the recording medium is a portable medium such as a flexible disk, an optical disk, a magneto-optical disk, and a semiconductor memory.

以上、上記各実施形態を参照して本願発明を説明したが、本願発明は、上述した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の範囲内で当業者が理解しうる様々な変更をすることが出来る。 Although the present invention has been described with reference to the above-described embodiments, the present invention is not limited to the above-described embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

100 情報処理装置
110 OS
111 判別部
112 退避部
113 解放部
114 ロード部
115 ページテーブル
116 退避状況管理テーブル
120 主記憶装置
130 ディスク装置
200 情報処理装置
210 退避部
220 解放部

100 information processing device 110 OS
111 Determination unit 112 Saving unit 113 Release unit 114 Load unit 115 Page table 116 Saving status management table 120 Main storage device 130 Disk device 200 Information processing device 210 Saving unit 220 Release unit

Claims (8)

オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を有し、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を有し、
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
情報処理装置。
An information processing device in which a virtual storage space managed by an operating system is expanded,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
has
a determination unit that checks whether or not a program to be deleted has been saved in the extension space, and determines whether or not to save the program to be deleted in the extension space based on the result of confirmation;
The saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit,
The determining unit determines to save the program to be deleted in the extended space when the program to be deleted is not saved in the extended space.
Information processing equipment.
請求項に記載の情報処理装置であって、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されている場合、削除対象のプログラムを前記拡張空間に退避しないと決定し、
前記解放部は、前記判別部が前記拡張空間に退避しないと判断したプログラムを前記従来空間から解放する
情報処理装置。
The information processing device according to claim 1 ,
the determining unit determines not to save the program to be deleted in the extended space when the program to be deleted is saved in the extended space;
The information processing apparatus, wherein the release unit releases the program, which the determination unit has determined not to save to the expansion space, from the conventional space.
請求項1または請求項2に記載の情報処理装置であって、
前記判別部は、前記拡張空間に退避されているプログラムを示す情報に基づいて、削除対象のプログラムを選択する
情報処理装置。
The information processing device according to claim 1 or claim 2 ,
The information processing device, wherein the determination unit selects a program to be deleted based on information indicating the programs saved in the extension space.
請求項1から請求項までのいずれか1項に記載の情報処理装置であって、
ロード対象のプログラムが前記拡張空間に退避しているか否かに基づいて、ロード対象のプログラムをロードするロード部を有する
情報処理装置。
The information processing device according to any one of claims 1 to 3 ,
An information processing apparatus comprising a loading unit that loads a program to be loaded based on whether the program to be loaded has been saved in the extension space.
請求項に記載の情報処理装置であって、
前記ロード部は、ロード対象のプログラムが前記拡張空間に退避している場合、ロード対象のプログラムを前記拡張空間から前記従来空間にロードする
情報処理装置。
The information processing device according to claim 4 ,
The information processing apparatus, wherein the loading unit loads the program to be loaded from the extension space to the conventional space when the program to be loaded has been saved in the extension space.
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置により行われる情報処理方法であって、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させ、
退避の後、前記従来空間から削除対象のプログラムを解放し、
削除対象のプログラムを退避させる際は、削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定し、決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、
前記決定の際において、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
情報処理方法。
An information processing method performed by an information processing device in which a virtual storage space managed by an operating system is expanded,
When deleting a program from a conventional space, which is a virtual storage space before expansion, the program to be deleted is saved in an extended space, which is a virtual storage space expanded from the conventional space,
After saving, releasing the program to be deleted from the conventional space,
When saving the program to be deleted, it is confirmed whether the program to be deleted is saved in the extension space, and based on the confirmation result, it is decided whether to save the program to be deleted in the extension space. and, based on the determination result, save the program to be deleted in the extension space;
When the program to be deleted is not saved in the extended space at the time of the determination, it is determined to save the program to be deleted in the extended space.
Information processing methods.
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置に、
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、
を実現させ、
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を実現させ、
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、
前記判別部は、削除対象のプログラムが前記拡張空間に退避されていない場合、削除対象のプログラムを前記拡張空間に退避すると決定する
プログラム。
In an information processing device with an expanded virtual storage space managed by an operating system,
a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
to realize
realizing a determination unit for confirming whether or not a program to be deleted has been saved in the extension space, and determining whether or not to save the program to be deleted in the extension space based on the confirmation result;
The saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit,
The determining unit determines to save the program to be deleted in the extended space when the program to be deleted is not saved in the extended space.
program.
オペレーションシステムが管理する仮想記憶空間が拡張された情報処理装置であって、An information processing device in which a virtual storage space managed by an operating system is expanded,
拡張前の仮想記憶空間である従来空間からプログラムを削除する際、前記従来空間から拡張された仮想記憶空間である拡張空間に削除対象のプログラムを退避させる退避部と、a saving unit that, when deleting a program from a conventional space that is a virtual storage space before expansion, saves the program to be deleted to an expansion space that is a virtual storage space expanded from the conventional space;
前記退避部による退避の後、前記従来空間から削除対象のプログラムを解放する解放部と、 a releasing unit that releases the program to be deleted from the conventional space after being saved by the saving unit;
を有し、has
削除対象のプログラムが前記拡張空間に退避されているか否か確認して、確認した結果に基づいて削除対象のプログラムを前記拡張空間に退避するか否か決定する判別部を有し、a determination unit that checks whether or not a program to be deleted has been saved in the extension space, and determines whether or not to save the program to be deleted in the extension space based on the result of confirmation;
前記退避部は、前記判別部による決定の結果に基づいて、前記拡張空間に削除対象のプログラムを退避させ、The saving unit saves the program to be deleted in the expansion space based on the determination result of the determining unit,
前記判別部は、削除対象のプログラムが前記拡張空間に退避されている場合、削除対象のプログラムを前記拡張空間に退避しないと決定し、the determining unit determines not to save the program to be deleted in the extended space when the program to be deleted is saved in the extended space;
前記解放部は、前記判別部が前記拡張空間に退避しないと判断したプログラムを前記従来空間から解放するThe release unit releases from the conventional space the program determined by the determination unit not to be saved in the expansion space.
情報処理装置。Information processing equipment.
JP2019016119A 2019-01-31 2019-01-31 Information processing device, information processing method, program Active JP7197131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019016119A JP7197131B2 (en) 2019-01-31 2019-01-31 Information processing device, information processing method, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019016119A JP7197131B2 (en) 2019-01-31 2019-01-31 Information processing device, information processing method, program

Publications (2)

Publication Number Publication Date
JP2020123263A JP2020123263A (en) 2020-08-13
JP7197131B2 true JP7197131B2 (en) 2022-12-27

Family

ID=71992804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019016119A Active JP7197131B2 (en) 2019-01-31 2019-01-31 Information processing device, information processing method, program

Country Status (1)

Country Link
JP (1) JP7197131B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003263366A (en) 2002-03-12 2003-09-19 Hitachi Ltd Swapping control method, its execution device and its processing program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3226525B2 (en) * 1988-10-07 2001-11-05 株式会社日立製作所 Main memory management method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003263366A (en) 2002-03-12 2003-09-19 Hitachi Ltd Swapping control method, its execution device and its processing program

Also Published As

Publication number Publication date
JP2020123263A (en) 2020-08-13

Similar Documents

Publication Publication Date Title
JP6198226B2 (en) Working set swap using sequential swap file
JP4856646B2 (en) Continuous flow processor pipeline
TWI476676B (en) File system for storage device which uses different cluster sizes
JP4902501B2 (en) Power control method, computer system, and program
US6848021B2 (en) Efficient data backup using a single side file
US20120101996A1 (en) Apparatus and method for snapshot image segmentation
JP2013520744A (en) Method and apparatus for generating minimum boot image
JP5422652B2 (en) Avoiding self-eviction due to dynamic memory allocation in flash memory storage
WO2010109568A1 (en) Storage device
JP4983474B2 (en) Virtual library apparatus, virtual library system, and logical volume copying method for virtual library apparatus.
AU2009202442A1 (en) Skip list generation
JP2010170295A (en) Storage device and data transfer method for storage device
CN112925606B (en) Memory management method, device and equipment
EP2669806B1 (en) Storage system
US20160011792A1 (en) Media control device and control method
US9395930B2 (en) Information processing system, control method of information processing system, and recording medium
JP7197131B2 (en) Information processing device, information processing method, program
KR101590764B1 (en) Computing system and method for controling memory of computing system
JPWO2013046342A1 (en) Virtual tape device and control method of virtual tape device
JP2005258789A (en) Storage device, storage controller, and write back cache control method
CN116502225A (en) Virus scanning method and device for self-adaptive packet redundancy arrangement and electronic equipment
JP6689471B2 (en) Information processing apparatus, information processing method, and information processing program
KR102076248B1 (en) Selective Delay Garbage Collection Method And Memory System Using The Same
JP2006039942A (en) File management device in hierarchical storage system, and its file management method
JP2016042294A (en) Storage apparatus, storage apparatus control program, and storage apparatus control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220920

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221109

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221115

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221208

R151 Written notification of patent or utility model registration

Ref document number: 7197131

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151