Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2122800 | 5.0u3 | Alan Bateman | P3 | Resolved | Fixed | b04 |
In the CompiledMethodLoad event the 'map' parameter to the event provides the profiler with an address map so that native addresses can be mapped to the bci in the method. Unfortunately we are reporting the address as offset from nmethod's instruction starting address (which isn't the same as the code_addr reported to the profiler because there is some header data before the instructions).
###@###.### 2005-1-20 12:42:50 GMT
Specifically, the jvmtiAddrLocationMap.start_address should be an absolute address, not an offset. Per the JVM TI spec:
Starting native address of code corresponding to a location
###@###.### 2005-1-21 00:08:04 GMT
- backported by
-
JDK-2122800 CompiledMethodLoad reports incorrect addresses in the location map
-
- Resolved
-