Simple method optimization
Abstract
Methods are classified as simple or complex. Complex methods are modified to add a tracer. Methods classified as simple are not modified to add a tracer. There are many different standards that can be used within the spirit of the present invention to classify methods as simple or complex. In one embodiment, a method is complex if it meets three criteria: (1) the method has an access level of public or package; (2) the method is non-synthetic and (3) the method calls at least one other method. Methods that do not satisfy all three criteria are classified as simple methods.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A process for monitoring, comprising: accessing a method; automatically determining whether to modify said method, said step of automatically determining whether to modify said method includes automatically determining whether said method calls another method and whether said method has an access level that satisfies a criterion, wherein said criterion is a level of access control for said method that is provided by a programming language; and modifying said method for a particular purpose only if said method calls another method and said access level satisfies said criterion.
- Claim 2Depends on #1
The process according to claim 1 , wherein: said determining whether to modify said method includes automatically determining whether said method is a synthetic method; and said modifying includes modifying said method only if said method is not a synthet
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (3)
- Grove et al., A Framework for Call Graph Construction Algorithms, published 2001 by ACm Col.23, No. 6, p. 685-746.
- Grove et al., Call Graph Constrction in Object-Oriented Languages, published 1997, by ACM, p. 108-124.
- Jeff Friesen, Java 2 by Example, Second Edition, published by Que, Dec. 14, 2001 ISBN: 0-7897-2593-2, pp. 114-117, 124-125 and 242-245.