METHOD AND APPARATUS FOR NATIVE METHOD CALLS
    1.
    发明申请
    METHOD AND APPARATUS FOR NATIVE METHOD CALLS 有权
    用于本方法调用的方法和装置

    公开(公告)号:US20100186001A1

    公开(公告)日:2010-07-22

    申请号:US12689300

    申请日:2010-01-19

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3636

    摘要: A method and apparatus for a native method call. The method comprises: generating, in response to a native method call-associated event, a template copy from a generic template for processing the native method call; filling information required for processing the native method call in corresponding locations in the template copy; and changing a code execution flow to execute the template copy. When a native method is called, the native method is processed by dynamically inserting the template copy in the execution path at the assembly level.

    摘要翻译: 一种本地方法调用的方法和装置。 该方法包括:响应于本地方法调用相关事件,从通用模板生成用于处理本地方法调用的模板副本; 填写在模板拷贝的相应位置处理本地方法调用所需的信息; 并更改代码执行流程以执行模板副本。 当调用本机方法时,通过在组件级别的动态插入模板副本到执行路径来处理本机方法。

    Method and apparatus for native method calls
    2.
    发明授权
    Method and apparatus for native method calls 有权
    用于本地方法调用的方法和装置

    公开(公告)号:US08527944B2

    公开(公告)日:2013-09-03

    申请号:US12689300

    申请日:2010-01-19

    IPC分类号: G06F9/44

    CPC分类号: G06F11/3636

    摘要: A method and apparatus for a native method call. The method comprises: generating, in response to a native method call-associated event, a template copy from a generic template for processing the native method call; filling information required for processing the native method call in corresponding locations in the template copy; and changing a code execution flow to execute the template copy. When a native method is called, the native method is processed by dynamically inserting the template copy in the execution path at the assembly level.

    摘要翻译: 一种本地方法调用的方法和装置。 该方法包括:响应于本地方法调用相关事件,从通用模板生成用于处理本地方法调用的模板副本; 填写在模板拷贝的相应位置处理本地方法调用所需的信息; 并更改代码执行流程以执行模板副本。 当调用本机方法时,通过在组件级别的动态插入模板副本到执行路径来处理本机方法。

    METHOD TO COMPUTE WAIT TIME
    3.
    发明申请
    METHOD TO COMPUTE WAIT TIME 有权
    计算等待时间的方法

    公开(公告)号:US20110071793A1

    公开(公告)日:2011-03-24

    申请号:US12562659

    申请日:2009-09-18

    IPC分类号: G06F15/00

    摘要: A requesting critical wait time of a given resource may be determined The requesting critical wait time is the time spent by the one or more resources waiting for the given resource, wherein at least one of the resources waiting for the given resource can proceed if access to the given resource is granted. A requested by critical wait time for a resource is determined, the requested by critical wait time being time spent by the resource for waiting solely for the given resource, wherein if the resource were granted access to the given resource, the resource can proceed without further waiting.

    摘要翻译: 可以确定给定资源的请求关键等待时间。请求临时等待时间是等待给定资源的一个或多个资源花费的时间,其中等待给定资源的资源中的至少一个可以进行,如果访问 给定的资源被授予。 确定资源的关键等待时间的请求,由关键等待时间所请求的资源用于等待给定资源的时间,其中如果资源被授予对给定资源的访问,则资源可以进一步进行 等候。

    Method to compute wait time
    4.
    发明授权
    Method to compute wait time 有权
    计算等待时间的方法

    公开(公告)号:US08521472B2

    公开(公告)日:2013-08-27

    申请号:US12562659

    申请日:2009-09-18

    IPC分类号: G04F10/00 G06F11/30

    摘要: A requesting critical wait time of a given resource may be determined. The requesting critical wait time is the time spent by the one or more resources waiting for the given resource, wherein at least one of the resources waiting for the given resource can proceed if access to the given resource is granted. A requested by critical wait time for a resource is determined, the requested by critical wait time being time spent by the resource for waiting solely for the given resource, wherein if the resource were granted access to the given resource, the resource can proceed without further waiting.

    摘要翻译: 可以确定给定资源的请求临时等待时间。 请求的关键等待时间是等待给定资源的一个或多个资源花费的时间,其中等待给定资源的资源中的至少一个可以在授予对给定资源的访问的情况下继续进行。 确定资源的关键等待时间的请求,由关键等待时间所请求的资源用于等待给定资源的时间,其中如果资源被授予对给定资源的访问,则资源可以进一步进行 等候。

    METHOD AND APPARATUS TO LOCATE BOTTLENECK OF JAVA PROGRAM
    5.
    发明申请
    METHOD AND APPARATUS TO LOCATE BOTTLENECK OF JAVA PROGRAM 审中-公开
    定位JAVA程序的瓶颈的方法和装置

    公开(公告)号:US20110258608A1

    公开(公告)日:2011-10-20

    申请号:US13086609

    申请日:2011-04-14

    IPC分类号: G06F9/44

    摘要: A method and an apparatus to locate a bottleneck of a Java program. The method to locate a bottleneck of a Java program includes the steps of: creating a helper thread in a Java process corresponding to the Java program, and attaching the helper thread to a Java virtual machine (JVM) created in the Java process; inserting a prober into an operating system kernel; monitoring states in the operating system kernel of Java threads in the Java process and sending a signal to the helper thread in response to detect that a Java thread is blocked; and retrieving call stack information from the JVM in response to receive the signal from the operating system kernel and locating the position in source code of the Java program that causes the block using the retrieved call stack information.

    摘要翻译: 一种定位Java程序瓶颈的方法和装置。 定位Java程序瓶颈的方法包括以下步骤:在与Java程序相对应的Java进程中创建一个帮助线程,并将辅助线程附加到在Java进程中创建的Java虚拟机(JVM); 将探测器插入操作系统内核; 监视Java进程中Java线程的操作系统内核中的状态,并发送信号到帮助线程以响应检测到Java线程被阻止; 以及响应于接收到来自操作系统内核的信号并且使用所检索到的调用堆栈信息来定位导致块的Java程序的源代码中的位置,从JVM中检索调用堆栈信息。

    Method and apparatus for discovering application configuration files in a system
    7.
    发明授权
    Method and apparatus for discovering application configuration files in a system 失效
    在系统中发现应用程序配置文件的方法和装置

    公开(公告)号:US08612389B2

    公开(公告)日:2013-12-17

    申请号:US12711582

    申请日:2010-02-24

    IPC分类号: G06F17/30

    CPC分类号: G06F9/44505

    摘要: A method and apparatus for discovering application configuration files in a system. The method includes the steps of: obtaining a process identifier of an application in concern; comparing the obtained process identifier with a process identifier of a process for operating configuration files in the system; and determining configuration files to be the configuration files of the application in concern if the obtained process identifier is identical to the process identifier of a process for operating the configuration files in the system. Application configuration files can be automatically discovered and thereby monitored, such that the change of the application configuration files can be effectively and accurately detected, so as to facilitate a user to perform various subsequent operations.

    摘要翻译: 一种在系统中发现应用程序配置文件的方法和装置。 该方法包括以下步骤:获取应用程序的进程标识符; 将获得的进程标识符与用于在系统中操作配置文件的进程的进程标识符进行比较; 并且如果获得的进程标识符与用于操作系统中的配置文件的处理的进程标识符相同,则将配置文件确定为关注的应用的配置文件。 可以自动发现应用程序配置文件并进行监视,从而能够有效,准确地检测应用程序配置文件的更改,从而方便用户执行各种后续操作。

    METHOD AND APPARATUS FOR DISCOVERING APPLICATION CONFIGURATION FILES IN A SYSTEM
    8.
    发明申请
    METHOD AND APPARATUS FOR DISCOVERING APPLICATION CONFIGURATION FILES IN A SYSTEM 失效
    在系统中发现应用程序配置文件的方法和装置

    公开(公告)号:US20100223306A1

    公开(公告)日:2010-09-02

    申请号:US12711582

    申请日:2010-02-24

    IPC分类号: G06F17/30

    CPC分类号: G06F9/44505

    摘要: A method and apparatus for discovering application configuration files in a system. The method includes the steps of: obtaining a process identifier of an application in concern; comparing the obtained process identifier with a process identifier of a process for operating configuration files in the system; and determining configuration files to be the configuration files of the application in concern if the obtained process identifier is identical to the process identifier of a process for operating the configuration files in the system. Application configuration files can be automatically discovered and thereby monitored, such that the change of the application configuration files can be effectively and accurately detected, so as to facilitate a user to perform various subsequent operations.

    摘要翻译: 一种在系统中发现应用程序配置文件的方法和装置。 该方法包括以下步骤:获取应用程序的进程标识符; 将获得的进程标识符与用于在系统中操作配置文件的进程的进程标识符进行比较; 并且如果获得的进程标识符与用于操作系统中的配置文件的处理的进程标识符相同,则将配置文件确定为关注的应用的配置文件。 可以自动发现应用程序配置文件并进行监视,从而能够有效,准确地检测应用程序配置文件的更改,从而方便用户执行各种后续操作。

    Memory leak diagnosis
    9.
    发明授权
    Memory leak diagnosis 失效
    内存泄漏诊断

    公开(公告)号:US08429620B2

    公开(公告)日:2013-04-23

    申请号:US12491877

    申请日:2009-06-25

    IPC分类号: G06F9/44

    CPC分类号: G06F11/366 G06F11/3636

    摘要: A method and an apparatus for diagnosing memory leak. The method includes: tracing the allocation of objects; recording allocation paths and allocation time of each object; giving to each object one unique identifier (ID) corresponding to an allocation path; determining the allocation path to which each object belongs; organizing the objects which are allocated but still not collected, and counting the age generations of the objects of the similar type according to the allocation time of each object; ranking the allocation paths according to the age generations of the surviving objects; and analyzing the ranking of the allocation paths, in which the allocation path with higher rank is more probable to introduce memory leaks. Thus, the suspicious allocation path possibly incurring memory leaks is selected and reported to the user for analysis.

    摘要翻译: 一种用于诊断内存泄漏的方法和装置。 该方法包括:跟踪对象的分配; 记录每个对象的分配路径和分配时间; 给每个对象一个对应于分配路径的唯一标识符(ID); 确定每个对象所属的分配路径; 组织分配但尚未收集的对象,并根据每个对象的分配时间对相似类型的对象的年代进行计数; 根据幸存对象的年龄代码排列分配路径; 并且分析具有较高等级的分配路径更可能引入内存泄漏的分配路径的排序。 因此,可选择引发内存泄漏的可疑分配路径被选择并报告给用户进行分析。

    Controlling shared memory
    10.
    发明授权
    Controlling shared memory 有权
    控制共享内存

    公开(公告)号:US09356887B2

    公开(公告)日:2016-05-31

    申请号:US13599501

    申请日:2012-08-30

    摘要: In view of the characteristics of distributed applications, the present invention proposes a technical solution for applying a shared memory on an NIC comprising: a shared memory configured to provide shared storage space for a task of a distributed application, and a microcontroller. Furthermore, the present invention provides a computer device that includes the above-mentioned NIC, a method for controlling a read/write operation on a shared memory of a NIC, and a method for invoking the NIC. The use of the technical solution provided in the present invention bypasses the processing of network protocol stack, avoids the time delay introduced by the network protocol stack. The present invention does not need to perform TCP/IP encapsulation on the data packet, thus greatly saving additional packet header and packet tail overheads generated from the TCP/IP layer data encapsulation.

    摘要翻译: 鉴于分布式应用的特征,本发明提出了一种在NIC上应用共享存储器的技术方案,包括:配置为为分布式应用的任务提供共享存储空间的共享存储器和微控制器。 此外,本发明提供了一种包括上述NIC的计算机设备,用于控制NIC的共享存储器上的读/写操作的方法和用于调用NIC的方法。 使用本发明提供的技术方案绕过了网络协议栈的处理,避免了由网络协议栈引入的时延。 本发明不需要在数据分组上执行TCP / IP封装,从而大大节省了从TCP / IP层数据封装产生的附加分组报头和分组尾部开销。