Method and apparatus for supporting performance analysis
First Claim
Patent Images
1. A method, comprising:
- compiling bytecodes to generate native codes corresponding to the bytecodes in an electronic device;
generating a file to include the bytecodes and the corresponding native codes in the file;
collecting symbol information to map symbols in the bytecodes with offsets of corresponding native codes; and
including the symbol information in the file that includes the bytecodes and the corresponding native codes and enables profiling by causing a profiling tool to interrupt periodically and obtain an address from a program counter and calculating an offset in a corresponding native code using the address and mapping the offset to symbols in the bytecodes.
7 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the disclosure provide a method to support performance analysis. The method includes compiling bytecodes to generate native codes corresponding to the bytecodes in an electronic device, generating a file to include the bytecodes and the corresponding native codes in the file, collecting symbol information to map symbols in the bytecodes with offsets of corresponding native codes, and including the symbol information in the file to enable profiling.
14 Citations
20 Claims
-
1. A method, comprising:
-
compiling bytecodes to generate native codes corresponding to the bytecodes in an electronic device; generating a file to include the bytecodes and the corresponding native codes in the file; collecting symbol information to map symbols in the bytecodes with offsets of corresponding native codes; and including the symbol information in the file that includes the bytecodes and the corresponding native codes and enables profiling by causing a profiling tool to interrupt periodically and obtain an address from a program counter and calculating an offset in a corresponding native code using the address and mapping the offset to symbols in the bytecodes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory computer readable medium storing instructions for causing a processor to execute operations, the operations comprising:
-
compiling bytecodes to generate native codes corresponding to the bytecodes in an electronic device; generating a file to include the bytecodes and the corresponding native codes in the file; collecting symbol information to map symbols in the bytecodes with offsets of corresponding native codes; and including the symbol information in the file that includes the bytecodes and the corresponding native codes and enables profiling by causing a profiling tool to interrupt periodically and obtain an address from a program counter and calculating an offset in a corresponding native code using the address and mapping the offset to symbols in the bytecodes. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification