Browse Prior Art Database

Attachment to a running JVM: Support for symbolic name and load addresses for previously generated code

IP.com Disclosure Number: IPCOM000028799D
Original Publication Date: 2004-Jun-01
Included in the Prior Art Database: 2004-Jun-01

Publishing Venue

IBM

Abstract

After attaching to a running Java (*) Virtual Machine (JVM), the profiler/debugger may need to get information about already generated code. For example, for Time Profiling (tprof) and Instruction Trace (ITrace), it is critical to know the address and names of JITed methods. It is also important to know the address and names of other generated code, such as, built-ins or on some JVMs, the interpreter itself involves copied and modified code. This information is required to convert addresses to symbolic names. We describe two methods of getting this critical "catchup" data so that the full ITrace & tprof functionality can be realized even when the profiler is started later than the application.