JP2016085537A5 - - Google Patents

Download PDF

Info

Publication number
JP2016085537A5
JP2016085537A5 JP2014216634A JP2014216634A JP2016085537A5 JP 2016085537 A5 JP2016085537 A5 JP 2016085537A5 JP 2014216634 A JP2014216634 A JP 2014216634A JP 2014216634 A JP2014216634 A JP 2014216634A JP 2016085537 A5 JP2016085537 A5 JP 2016085537A5
Authority
JP
Japan
Prior art keywords
application
bytecode
information
executed
processing apparatus
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.)
Granted
Application number
JP2014216634A
Other languages
English (en)
Other versions
JP6548379B2 (ja
JP2016085537A (ja
Filing date
Publication date
Application filed filed Critical
Priority to JP2014216634A priority Critical patent/JP6548379B2/ja
Priority claimed from JP2014216634A external-priority patent/JP6548379B2/ja
Priority to US14/876,130 priority patent/US10089211B2/en
Publication of JP2016085537A publication Critical patent/JP2016085537A/ja
Publication of JP2016085537A5 publication Critical patent/JP2016085537A5/ja
Application granted granted Critical
Publication of JP6548379B2 publication Critical patent/JP6548379B2/ja
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (9)

  1. クラスファイルに含まれるバイトコードを用いて処理を実行する複数のアプリケーションを備えた情報処理装置であって、
    1のアプリケーションに対応するクラスファイルに、当該クラスファイルに含まれるバイトコードを実行することにより生成されるオブジェクトが使用するリソースの情報を集計するための第一のバイトコードを挿入する挿入手段と、
    アプリケーションがオブジェクトを生成した場合に、当該アプリケーションが生成したオブジェクトが使用したリソースの情報を集計する集計手段と
    を備え、
    前記第一のバイトコードが実行されることにより、当該第一のバイトコードを実行した前記1のアプリケーションが識別され、識別された前記1のアプリケーションと生成したオブジェクトが使用するリソースの情報とが対応付けて記憶部に登録され、前記記憶部に登録された情報に基づいて、前記集計手段によりアプリケーションごとのリソースの使用量が集計されることを特徴とする情報処理装置。
  2. 前記挿入手段は更に、新たなオブジェクトを生成するクラスのクラスファイルに、前記第一のバイトコードによる処理が実行中か否かを判定するための第二のバイトコードを挿入し、
    前記第二のバイトコードが実行されることにより、前記第一のバイトコードによる処理が実行中に前記新たなオブジェクトが生成されたと判定された場合には、前記新たなオブジェクトに対して前記第一のバイトコードによる処理を行わないように制御されることを特徴とする請求項1に記載の情報処理装置。
  3. 前記挿入手段は更に、アプリケーションを前記情報処理装置にインストールする際に、当該アプリケーションに対応する管理テーブルを生成するための第三のバイトコードを挿入し、
    前記第三のバイトコードが実行されることにより、前記アプリケーションに対応する管理テーブルが前記記憶部に生成され、
    前記第一のバイトコードが実行された際に、前記1のアプリケーションが生成したオブジェクトが使用するリソースの情報は、前記1のアプリケーションに対応する管理テーブルに登録されることを特徴とする請求項1または2に記載の情報処理装置。
  4. 前記挿入手段は更に、集計の対象となるアプリケーションを設定するための第四のバイトコードを挿入し、
    前記第一のバイトコードが実行された場合、前記第四のバイトコードが実行された際に設定されるアプリケーションが、前記集計手段により、対象として集計されることを特徴とする請求項3に記載の情報処理装置。
  5. 前記第四のバイトコードは、ユーザにより前記情報処理装置に新たにインストールされたアプリケーションを対象とするように構成されることを特徴とする請求項4に記載の情報処理装置。
  6. 前記入手段は更に、集計する対象となるリソースの種類を設定するための第五のバイトコードを挿入し、
    前記第一のバイトコードが実行された場合、前記第五のバイトコードが実行された際に設定されるリソースが、前記集計手段により、対象として集計されることを特徴とする請求項1乃至5のいずれか一項に記載の情報処理装置。
  7. 前記リソースの種類は、メモリ、スレッド、ソケット、およびファイルディスクリプタの少なくともいずれかであることを特徴とする請求項6に記載の情報処理装置。
  8. クラスファイルに含まれるバイトコードを用いて処理を実行する複数のアプリケーションを備えた情報処理装置の制御方法であって、
    挿入手段が、1のアプリケーションに対応するクラスファイルに、当該クラスファイルに含まれるバイトコードを実行することにより生成されるオブジェクトが使用するリソースの情報を集計するための第一のバイトコードを挿入する挿入工程と、
    集計手段が、アプリケーションがオブジェクトを生成した場合に、当該アプリケーションが生成したオブジェクトが使用したリソースの情報を集計する集計工程と
    を有し、
    前記第一のバイトコードが実行されることにより、当該第一のバイトコードを実行した前記1のアプリケーションが識別され、識別された前記1のアプリケーションと生成したオブジェクトが使用するリソースの情報とが対応付けて記憶部に登録され、前記記憶部に登録された情報に基づいて、前記集計手段によりアプリケーションごとのリソースの使用量が集計されることを特徴とする情報処理装置の制御方法。
  9. コンピュータを、
    クラスファイルに含まれるバイトコードを用いて処理を実行する複数のアプリケーションのうちの1のアプリケーションに対応するクラスファイルに、当該クラスファイルに含まれるバイトコードを実行することにより生成されるオブジェクトが使用するリソースの情報を集計するための第一のバイトコードを挿入する挿入手段、
    アプリケーションがオブジェクトを生成した場合に、当該アプリケーションが生成したオブジェクトが使用したリソースの情報を集計する集計手段
    として機能させ、
    前記第一のバイトコードが実行されることにより、当該第一のバイトコードを実行した前記1のアプリケーションが識別され、識別された前記1のアプリケーションと生成したオブジェクトが使用するリソースの情報とが対応付けて記憶部に登録され、前記記憶部に登録された情報に基づいて、前記集計手段によりアプリケーションごとのリソースの使用量が集計されることを特徴とするプログラム。
JP2014216634A 2014-10-23 2014-10-23 情報処理装置およびその制御方法、並びにプログラム Active JP6548379B2 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014216634A JP6548379B2 (ja) 2014-10-23 2014-10-23 情報処理装置およびその制御方法、並びにプログラム
US14/876,130 US10089211B2 (en) 2014-10-23 2015-10-06 Information processing apparatus that executes processing by using a bytecode, method for controlling the same, and non-transitory computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014216634A JP6548379B2 (ja) 2014-10-23 2014-10-23 情報処理装置およびその制御方法、並びにプログラム

Publications (3)

Publication Number Publication Date
JP2016085537A JP2016085537A (ja) 2016-05-19
JP2016085537A5 true JP2016085537A5 (ja) 2017-11-24
JP6548379B2 JP6548379B2 (ja) 2019-07-24

Family

ID=55792093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014216634A Active JP6548379B2 (ja) 2014-10-23 2014-10-23 情報処理装置およびその制御方法、並びにプログラム

Country Status (2)

Country Link
US (1) US10089211B2 (ja)
JP (1) JP6548379B2 (ja)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255673B (zh) * 2017-12-29 2021-10-15 东软集团股份有限公司 应用程序占用资源的检测方法、装置和存储介质
CN108628740A (zh) * 2018-04-10 2018-10-09 杭州迪普科技股份有限公司 一种文件描述符泄露检测方法及装置
CN111562913B (zh) * 2020-04-28 2023-03-14 抖音视界有限公司 视图组件的预创建方法、装置、设备及计算机可读介质
CN114461482A (zh) * 2020-11-10 2022-05-10 南京中兴新软件有限责任公司 插件资源管理的方法和装置、电子设备、计算机可读介质
CN112732560B (zh) * 2020-12-31 2023-10-27 杭州迪普科技股份有限公司 文件描述符泄露风险的检测方法及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760903B1 (en) * 1996-08-27 2004-07-06 Compuware Corporation Coordinated application monitoring in a distributed computing environment
US6314558B1 (en) * 1996-08-27 2001-11-06 Compuware Corporation Byte code instrumentation
JP2000293410A (ja) * 1999-04-09 2000-10-20 Nec Corp プロファイラ
US7367025B1 (en) * 2003-12-30 2008-04-29 Sap Ag Byte code modification for testing, debugging and/or monitoring of virtual machine based software
US20060136886A1 (en) * 2004-12-16 2006-06-22 Bret Patterson Process and implementation for interrupting locked threads
US20060136916A1 (en) * 2004-12-17 2006-06-22 Rowland John R Method and apparatus for transaction performance and availability management based on program component monitor plugins and transaction performance monitors
US7793304B2 (en) * 2005-05-04 2010-09-07 Symantec Corporation System and method for monitoring memory usage
US8631401B2 (en) * 2007-07-24 2014-01-14 Ca, Inc. Capacity planning by transaction type
US8261278B2 (en) * 2008-02-01 2012-09-04 Ca, Inc. Automatic baselining of resource consumption for transactions
US8245200B2 (en) * 2008-07-11 2012-08-14 International Business Machines Corporation Method, system, and apparatus for dynamically injecting logging statements into web 2.0 javascript applications
US8566800B2 (en) 2010-05-11 2013-10-22 Ca, Inc. Detection of method calls to streamline diagnosis of custom code through dynamic instrumentation
US8910127B2 (en) * 2012-09-20 2014-12-09 Identify Software Ltd. (IL) Estimating indirect interface implementation before load time based on directly implemented methods

Similar Documents

Publication Publication Date Title
JP2016085537A5 (ja)
SG11201906495TA (en) Database state determining method and device, and consistency verifying method and device
JP2017511940A5 (ja)
JP2017519308A5 (ja)
PH12020550701A1 (en) Asset management method and apparatus, and electronic device
JP2016522476A5 (ja)
JP2017516210A5 (ja)
JP2016535373A5 (ja)
JP2014016817A5 (ja)
JP2017524202A5 (ja)
GB2563340A8 (en) Labeling computing objects for improved threat detection
JP2017505483A5 (ja)
JP2014501419A5 (ja)
JP2017530436A5 (ja)
RU2015142983A (ru) Принудительное создание события элемента управления
JP2014534532A5 (ja)
JP2014523059A5 (ja)
JP2014123354A5 (ja)
JP2017504106A5 (ja)
JP6739513B2 (ja) Dmb操作を伴うロード/ストア操作を使用するロード獲得/ストア解放命令の実装
PH12017550081A1 (en) Conditionally controlled styling
JP2016502219A5 (ja)
JP2018524689A5 (ja)
GB2569756A (en) Loader and method for processing a resource bundle
JP2018502425A5 (ja)