Diagnostic method and article for identifying significant events

a significant event and diagnostic method technology, applied in the field of computer systems, can solve the problems of scalability restrictions, affecting the scalability of the approach, and the size of the memory footprint that each session consumes,

Inactive Publication Date: 2005-09-27
ORACLE INT CORP
View PDF8 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The present invention is a method and software for analyzing a program by logging stack traces and tags during execution. These tags can indicate the addresses of allocated objects or migrated objects. The invention can also produce a diagnostic report based on the log file. The technical effects of the invention include improved program analysis and diagnostics, as well as efficient memory management.

Problems solved by technology

A significant constraint for user scalability is the size of the memory footprint that each session consumes.
Accordingly, one approach is to simply ignore the provision of the call memory by the multi-user system and allocate every object in session memory, but this approach suffers from scalability because short-lived objects are unnecessarily allocated in session memory.
JAVA, however, imposes restrictions on this approach by requiring several system classes to store large objects in static class variables.
An example of one of these objects is an I / O buffer in a stream class, which holds no useful information after being flushed but still consumes several kilobytes.
Thus, the above-described migration policy causes these large objects to be migrated into session memory even though the state of the large object is no longer relevant, thereby increasing session memory requirements per session and reducing scalability.
The space used by such objects is substantial, on the order of 150 Kb for a JAVA “Hello World” program, thereby seriously affecting the scalability of the system.
In a large run-time environment, such as a JAVA virtual machine, however, many objects are allocated and deallocated during the course of a call and it is difficult to identify, by manual inspection, those objects that would benefit most from applying such above-described techniques.
Conventional diagnostic tools, however, are unsatisfactory in addressing this need.
The log file of conventional backtrace logging contains thousands of backtraces, making manual inspection for particular events very difficult.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Diagnostic method and article for identifying significant events
  • Diagnostic method and article for identifying significant events
  • Diagnostic method and article for identifying significant events

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047]A diagnostic method for identifying significant events is described. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.

Hardware Overview

[0048]FIG. 1 is a block diagram that illustrates a computer system 100 upon which an embodiment of the invention may be implemented. Computer system 100 includes a bus 102 or other communication mechanism for communicating information, and processors 104 and 105 both coupled with bus 102 for processing information. Computer system 100 also includes a main memory 106, such as a random access memory (RAM) or other dynamic storage device, coupled t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Backtraces are logged in the log file during execution of a program and tagged with information that can categorize the backtraces. Certain tags are also marked as “interesting” in the log file. A report is generated from the log file, indicating which of the backtraces are associated with the tags marked as interesting. In one embodiment, allocations of objects are logged with their addresses, and the objects that are later migrated into session memory are marked interesting.

Description

RELATED APPLICATIONS[0001]The present application claims the benefit of the following U.S. Provisional Patent Applications, the contents of all of which are incorporated by reference in their entirety:[0002]U.S. Provisional Patent Application Ser. No. 60 / 160,759 entitled USE OF A JAVA VM INSTANCE AS THE BASIC UNIT OF USER EXECUTION IN A SERVER ENVIRONMENT, filed on Oct. 21, 1999 by Harlan Sexton et al.;[0003]U.S. Provisional Patent Application Ser. No. 60 / 185,136 entitled MEMORY MANAGEMENT USING MIGRATION FOR A RUN-TIME ENVIRONMENT, filed on Feb. 25, 2000 by Harlan Sexton et al.;[0004]U.S. Provisional Patent Application Ser. No. 60 / 185,139 entitled METHOD AND ARTICLE FOR MANAGING REFERENCES BETWEEN OBJECTS IN MEMORIES OF DIFFERENT DURATIONS IN A RUN-TIME ENVIRONMENT, filed on Feb. 25, 2000 by Harlan Sexton;[0005]U.S. Provisional Patent Application Ser. No. 60 / 185,138 entitled STATIC OBJECT SYSTEM AND METHODOLOGY FOR IMPLEMENTING A RUN-TIME ENVIRONMENT, filed on Feb. 25, 2000 by Harl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityPatents(United States)
IPC IPC(8): G06F9/44G06F9/455G06F12/00
CPCG06F9/485G06F11/3636G06F11/366
InventorSEXTON, HARLAN
OwnerORACLE INT CORP