Method of instrumenting garbage collection generating a trace file making a single pass analysis of object heap
    1.
    发明授权
    Method of instrumenting garbage collection generating a trace file making a single pass analysis of object heap 有权
    检测垃圾收集的方法,生成跟踪文件,进行对象堆的单次分析

    公开(公告)号:US06434575B1

    公开(公告)日:2002-08-13

    申请号:US09190562

    申请日:1998-11-12

    IPC分类号: G06F1200

    摘要: A method and apparatus for instrumenting garbage collection in a data processing system is provided. During garbage collection, a pass is made through the object heap and a plurality of heap data is retrieved and written to a trace file. The data may include the type of object, the size of the object on the heap, the class of the object, if appropriate, and a plurality of pointers, including live set pointers, and one or more tags representing attributes that may be associated with the particular object. The instrumentation may controlled to occur at a preselected phase of the garbage collection process. Additionally, a user may dynamically initiate a garbage collection instrumentation if the user determines that an event has occurred during the operation of the data processing system about which the user wishes further data.

    摘要翻译: 提供了一种用于在数据处理系统中进行垃圾回收的装置的方法和装置。 在垃圾收集期间,通过对象堆进行通过,并且检索多个堆数据并将其写入跟踪文件。 数据可以包括对象的类型,堆上的对象的大小,对象的类,如果合适的话,以及包括活动集指针的多个指针,以及一个或多个表示可以与 特定的对象。 仪器可以控制在垃圾收集过程的预选阶段发生。 另外,如果用户在用户希望进一步的数据的数据处理系统的操作期间确定事件已经发生,用户可以动态地启动垃圾收集检测。

    Method and system for allocation of a persistence indicator for an object in an object-oriented environment
    2.
    发明授权
    Method and system for allocation of a persistence indicator for an object in an object-oriented environment 有权
    在面向对象环境中为对象分配持久性指示符的方法和系统

    公开(公告)号:US06457111B1

    公开(公告)日:2002-09-24

    申请号:US09460774

    申请日:1999-12-14

    IPC分类号: G06F1200

    摘要: A method and system are disclosed for operating an object-oriented environment within a computer system. The execution of the object-oriented environment is initiated. A first memory location is allocated in a memory area within the object-oriented environment for storing an object. A second memory location is allocated in the memory area with the allocation of the first memory location for storing a persistence indicator. The persistence indicator indicates a point during the execution of the object-oriented environment at which the allocation of the first memory location occurred. A total number of bytes of the memory area which had been allocated during the execution of the object-oriented environment when the allocation of the first memory location occurred is stored as the persistence indicator.

    摘要翻译: 公开了用于在计算机系统内操作面向对象的环境的方法和系统。 启动面向对象环境的执行。 第一存储器位置被分配在用于存储对象的面向对象环境内的存储器区域中。 第二存储器位置被分配在存储区域中,分配用于存储持久性指示符的第一存储器位置。 持久性指示符指示在执行第一存储器位置的分配的面向对象环境的执行期间的点。 当发生第一存储器位置的分配时,在执行面向对象环境期间已经分配的存储器区域的总字节数被存储为持久性指示符。

    Method and system for memory leak detection in an object-oriented environment during real-time trace processing
    3.
    发明授权
    Method and system for memory leak detection in an object-oriented environment during real-time trace processing 失效
    在实时跟踪处理中面向对象环境中的内存泄漏检测方法和系统

    公开(公告)号:US06560773B1

    公开(公告)日:2003-05-06

    申请号:US09414331

    申请日:1999-10-07

    IPC分类号: G06F1730

    摘要: A method and system for detecting memory leaks in an object-oriented environment during real-time trace processing is provided. During the profiling of a program executing in a data processing system, a profiler processes events caused by the execution of the program, and the profiler maintains a profile data structure containing execution-related metrics for the program. The execution-related metrics may include object allocation and deallocation metrics that are associated with object processing initiated on behalf of an executing method. An object allocator allocates objects during the execution of the program and modifies object allocation metrics in the profile data structure. An object deallocator, such as a garbage collector, deallocates objects during the execution of the program and modifies object deallocation metrics in the profile data structure. The object allocation metrics and the object deallocation metrics may be compared to identify memory leaks.

    摘要翻译: 提供了一种用于在实时跟踪处理期间检测面向对象环境中的内存泄漏的方法和系统。 在对在数据处理系统中执行的程序进行分析时,分析器处理由程序执行引起的事件,并且分析器维护包含程序的执行相关度量的简档数据结构。 执行相关度量可以包括与代表执行方法发起的对象处理相关联的对象分配和重新分配度量。 对象分配器在执行程序期间分配对象,并在配置文件数据结构中修改对象分配度量。 诸如垃圾收集器的对象分配器在执行程序期间释放对象,并修改配置文件数据结构中的对象分配度量。 可以比较对象分配度量和对象分配度量以识别内存泄漏。

    Method and system for shadow heap memory leak detection and other heap analysis in an object-oriented environment during real-time trace processing
    4.
    发明授权
    Method and system for shadow heap memory leak detection and other heap analysis in an object-oriented environment during real-time trace processing 有权
    实时跟踪处理中面向对象环境中影子堆内存泄漏检测和其他堆分析的方法和系统

    公开(公告)号:US06658652B1

    公开(公告)日:2003-12-02

    申请号:US09589798

    申请日:2000-06-08

    IPC分类号: G06F944

    摘要: A method and system for detecting memory leaks in an object-oriented environment during real-time trace processing is provided. During the profiling of a program executing in a data processing system, a profiler processes events caused by the execution of the program, and the profiler maintains a profile data structure containing execution-related metrics for the program. The execution-related metrics may include object allocation and deallocation metrics that are associated with object processing initiated on behalf of an executing method. An object allocator allocates objects during the execution of the program and modifies object allocation metrics in the profile data structure. Object metrics are stored in a particular location and a pointer to that location is stored in a hash table associated with the object's ID. In another embodiment the pointer to the location is stored in a shadow heap in the same relative position as the position of the object in the heap. The object allocation metrics and the object deallocation metrics may be compared to identify memory leaks.

    摘要翻译: 提供了一种用于在实时跟踪处理期间检测面向对象环境中的内存泄漏的方法和系统。 在对在数据处理系统中执行的程序进行分析时,分析器处理由程序执行引起的事件,并且分析器维护包含程序的执行相关度量的简档数据结构。 执行相关度量可以包括与代表执行方法发起的对象处理相关联的对象分配和重新分配度量。 对象分配器在执行程序期间分配对象,并在配置文件数据结构中修改对象分配度量。 对象度量存储在特定位置,并且指向该位置的指针存储在与对象的ID相关联的散列表中。 在另一个实施例中,指向该位置的指针存储在与堆中对象的位置相同的相对位置的阴影堆中。 可以比较对象分配度量和对象分配度量以识别内存泄漏。

    Memory allocation profiling to discover high frequency allocators
    5.
    发明授权
    Memory allocation profiling to discover high frequency allocators 失效
    内存分配分析来发现高频分配器

    公开(公告)号:US06817011B1

    公开(公告)日:2004-11-09

    申请号:US09460846

    申请日:1999-12-14

    IPC分类号: G06F944

    摘要: A method, system, and computer program product for profiling memory allocation in a data processing system are disclosed. The method includes initiating a memory allocation request and, in response to the memory allocation request, profiling the memory allocation request to determine a prescribed set of characteristics associated with request. The profiled set of characteristics are the stored for subsequent review. In one embodiment, the profiled memory allocation request is selectively chosen from a set of memory allocation requests on the basis of a memory allocation sampling criterion. The sampling criterion may be based upon the size of the memory block requested in the memory allocation request in one embodiment. In an alternative embodiment, the sampling criterion is the based upon the number of memory allocation requests. In an embodiment with multiple memory allocation routines, the memory allocation request may be of a first memory allocation routine type and the sampling criterion may be based upon the number of memory allocation requests of the first type. In one embodiment, the set of characteristics monitored by the application program includes the calling sequence that resulted in the memory allocation request. In one embodiment, the memory allocation request may be initiated by an application program written in the Java programming language and the memory allocation request is handled by a Java Virtual Machine.

    摘要翻译: 公开了一种用于在数据处理系统中分析存储器分配的方法,系统和计算机程序产品。 该方法包括启动存储器分配请求,并且响应于存储器分配请求,分析存储器分配请求以确定与请求相关联的特定特征集合。 特征的特征集存储供后续审查。 在一个实施例中,根据存储器分配采样标准从一组存储器分配请求中选择性地选择配置存储器分配请求。 在一个实施例中,采样标准可以基于在存储器分配请求中请求的存储器块的大小。 在替代实施例中,采样标准基于存储器分配请求的数量。 在具有多个存储器分配例程的实施例中,存储器分配请求可以是第一存储器分配例程类型,并且采样标准可以基于第一类型的存储器分配请求的数量。 在一个实施例中,由应用程序监视的特征集合包括导致存储器分配请求的调用序列。 在一个实施例中,存储器分配请求可以由以Java编程语言编写的应用程序启动,并且存储器分配请求由Java虚拟机处理。

    System and method for improved handling of client state objects
    6.
    发明授权
    System and method for improved handling of client state objects 失效
    改进客户端状态对象处理的系统和方法

    公开(公告)号:US06848000B1

    公开(公告)日:2005-01-25

    申请号:US09735593

    申请日:2000-11-12

    摘要: A client state object, such as a “cookie,” allows a server to save client state information on the client. This information is returned when the client requests information from the server. A server includes two identifiers—a primary name and an alternate name. Web pages on the server are modified so that links to server resources, such as files, that need client state information reference the primary name, while other links that do not need client state information reference the alternate name. In this manner, it does not matter which directory on the server is used to store files and files can be intermingled with one another regardless of whether the individual files use client state information. A method is provided for modifying existing web pages based on whether server resources addressed by the hyperlinks use client state information.

    摘要翻译: 客户端状态对象(如“cookie”)允许服务器在客户端上保存客户端状态信息。 当客户端从服务器请求信息时返回此信息。 服务器包含两个标识符 - 主名称和备用名称。 修改服务器上的网页,以便链接到需要客户端状态信息的服务器资源(如文件)引用主名称,而不需要客户端状态信息的其他链接引用备用名称。 以这种方式,无论个别文件是否使用客户端状态信息,服务器上的哪个目录用于存储文件并且文件可以彼此混合是无关紧要的。 提供了一种基于由超链接寻址的服务器资源是否使用客户端状态信息来修改现有网页的方法。