Method and system for improving performance of applications that employ a cross-language interface
AssigneeInternational Business Machines Corporation
InventorsRajiv Arora, Robert Francis Berry
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsRajiv Arora, Robert Francis Berry
Estimating the term…
A method, system, apparatus, and computer program product is presented for improving the execution performance of an application in a data processing system. Instrumentation code is inserted into an application in which the instrumentation code generates trace data for method entry events and method exit events when the instrumented application is executed. The trace output data that is generated by the instrumentation code is then analyzed to detect patterns which indicate an inefficient coding construct in the application. The source code for the inefficient coding construct in the application associated with the detected pattern may be modified according to indications provided to an application developer. For example, a specific inefficient coding construct may be an inefficient use of a cross-language boundary, such as the interface between Java code and native code, in which data is inefficiently transferred across the interface through a local array in the native code. A suggested transform for efficient use of a cross-language boundary may include the use of a reference to a Java object within the native code.
A method for improving the execution performance of an application in a data processing system, wherein the application contains native code and non-native code supported by a cross-language boundary having methods for interfacing native code and non-native code, the method comprising:
A data processing system for improving the execution performance of an application, wherein the application contains native code and Java code supported by a cross-language boundary having methods for interfacing native code and Java code, wherein the data processing system includes a central processing unit (CPU) and a memory for storing data, the data processing system comprising:
A computer program product in a computer-readable medium for use in a data processing system for improving the execution performance of an application, wherein the application contains native code and Java code supported by a cross-language boundary having methods for interfacing native code and Java code, the computer program product comprising:
A method for improving the execution performance of an application in a data processing system, wherein the application contains native code and non-native code supported by a cross-language boundary having methods for interfacing native code and non-native code, the method comprising:
A data processing system for improving the execution performance of an application, wherein the application contains native code and Java code supported by a cross-language boundary having methods for interfacing native code and Java code, wherein the data processing system includes a central processing unit (CPU) and a memory for storing data, the data processing system comprising:
A computer program product in a computer-readable medium for use in a data processing system for improving the execution performance of an application, wherein the application contains native code and Java code supported by a cross-language boundary having methods for interfacing native code and Java code, the computer program product comprising:
Dependencies are inferred from the claim text.