首页> 外国专利> SYSTEM AND METHOD FOR MANAGING RESOURCES OF APPLICATIONS AND THREADS PERFORMED ON JAVA VIRTUAL MACHINE

SYSTEM AND METHOD FOR MANAGING RESOURCES OF APPLICATIONS AND THREADS PERFORMED ON JAVA VIRTUAL MACHINE

机译:在Java虚拟机上管理应用程序和线程的资源的系统和方法

摘要

A method of managing resources related to a Java Virtual Machine (JVM) and an application executed in the JVM is provided. The method includes defining a resource identifier uniquely identifying an arbitrary resource to be; generating a resource consumer for each thread, wherein the resource consumer uses a resource; generating at least one resource manager per resource identifier, wherein the resource manager manages a resource, and storing the at least one resource manager in a resource manager registry; calculating a quantity of resource usage by resource managers generated for all applications and threads in the applications, and storing the calculated quantity of resource usage, wherein the calculating and storing of the quantity are performed by each of the resource managers; and informing about the quantity of resource usage.
机译:提供一种管理与Java虚拟机(JVM)有关的资源和在JVM中执行的应用程序的方法。该方法包括:定义资源标识符,该资源标识符唯一地标识将要使用的任意资源;以及为每个线程生成资源消费者,其中资源消费者使用资源;每个资源标识符生成至少一个资源管理器,其中,资源管理器管理资源,并将至少一个资源管理器存储在资源管理器注册表中;由资源管理器计算为所有应用程序和应用程序中的线程生成的资源使用量,并存储计算出的资源使用量,其中,所述数量的计算和存储由每个资源管理器执行;并告知资源使用量。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号