Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Probe description language

Inactive Publication Date: 2003-07-31
BEA SYST INC
View PDF22 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0012] It is further an object of the present invention to create a tool that allows a user to analyze an application without having access to source code.
[0092] PDL can provide constructs to allow a probe writer to declare and instantiate variables of any Java type in the class static initializer. PDL can also allow a probe writer to declare and instantiate variables of any Java type on the stack. PDL can also allow for arithmetic operations. Literal values of Java primitive types can be defined and utilized, as well as literal String values. PDL can allow for string concatenations, and can provide access to classes, objects, and variables within an application being instrumented. This approach is consistent with Java scoping and access rules. PDL can be used to invoke methods on arbitrary Java runtime classes, and can allow a probe writer to pass arguments to invoked methods. Any accessible objects and variables can be passed as arguments, whether originating from the application or created in the probe. PDL can allow for conditional execution. PDL can also allow a probe writer to create parameterized probes, such that the same probe can be used in different contexts to operate on different arguments.

Problems solved by technology

It is not always practical to use a debugger, however, as stopping a program at a break point can change the behavior of a program, especially in multi-threaded programs.
If debugging code is inserted in several places throughout an application, the source code can become cluttered with debug logic.
Once compiled, such debugging code cannot be changed.
This can be undesirable while dealing with publicly-released software.
If a problem is reported against a specific release of a product, for example, the customer support staff may have to perform several tasks to put the required diagnostic code into the application.
This process can be very tedious and time consuming.
If the problem is in a third party library or module, the source code may not be available at all.
In this case, altering the source code to add diagnostic logic is simply not possible.

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
  • Probe description language
  • Probe description language
  • Probe description language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0133] t0=java.lang.System.currentTimeMillis( );

[0134] java.lang.System.out.println("Elapsed Time:"+(java.lang.System.curr-entTimeMillis( )-t0));

[0135] In some embodiments, variables can be declared only in %oninit and %onentry sections. Variables declared in an %oninit section can be implicitly static, and variables declared in an %onentry section can be created on a stack. It is also possible to not have any sections in a probe body. Such a probe can be treated as an empty probe. Access to variables from an application being instrumented can be required to satisfy normal Java scoping and access rules. Since the scope of a probe can be implicitly identified by analyzing the probe body, it may not be necessary to track the scope of a probe in the PDL syntax.

[0136] Interface

[0137] Instead of creating a directive file by hand, or creating an XML file directly, a user interface can be supplied which will help a user to generate a directive file. This can further lower the amount of kno...

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

A high-level language can be used to abstract away programming language complexity from a user. The high-level language can be based upon and utilize some of the semantics of the programming language, but utilize keywords to call programming language functionality transparent to the user. This provides for a shorter learning curve for people who are somewhat familiar with the programming language, but might lack the knowledge or desire to personally code an entire application or method in the program language. This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.

Description

CLAIM OF PRIORITY[0001] This application claims priority to U.S. Provisional Patent Application No. 60 / 349,457, filed Jan. 18, 2002, entitled "FLEXIBLE AND EXTENSIBLE JAVA BYTECODE," as well as Application No. 60 / 349,586, filed Jan. 18, 2002, entitled "PROBE DESCRIPTION LANGUAGE," each of which is hereby incorporated herein by reference.COPYRIGHT NOTICE[0002] A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document of the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.CROSS-REFERENCED CASES[0003] The following applications are cross-referenced and incorporated herein by reference:[0004] U.S. patent application Ser. No. ______ entitled "FLEXIBLE AND EXTENSIBLE JAVA BYTECODE INSTRUMENTATION SYSTEM," by Rajendra Inamdar, filed concurre...

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
IPC IPC(8): G06F9/44G06F9/45G06F15/00
CPCG06F11/3624G06F11/362G06F11/364
Inventor INAMDAR, RAJENDRA
Owner BEA SYST INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products