摘要 |
<p>New code is added to existing object code in order to add new functionality. For example, a call to start a profiler function can be added at the beginning of a Java method (306) and a call to stop the profiler function can be added at the exits of the Java method (310). A method may have many different exits. To insure that the profiler process is stopped regardless of which exit is performed, the byte code and the exception table are modified (312, 314).</p> |