-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 18
-
b28
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278720 | 19 | Aleksey Shipilev | P4 | Resolved | Fixed | b28 |
JDK-8297403 | 17.0.6 | Aleksey Shipilev | P4 | Resolved | Fixed | b04 |
This is a Zero infrastructure improvement that makes Zero VM work with AsyncGetCallTrace, and by extension, async-profiler.
Zero is quite odd in stack management. The "real" stack actually contains the C++ Interpreter and the rest of VM code. The Java stack is reported through the usual "frame" mechanism the rest of VM uses to get the mapping from Template Interpreter, stub, and compiled code. So, to support Java-centric AsyncGetCallTrace, we t "only" need Zero to report the proper Java frames from its ZeroStack from the profiling/signal handlers.
Zero is quite odd in stack management. The "real" stack actually contains the C++ Interpreter and the rest of VM code. The Java stack is reported through the usual "frame" mechanism the rest of VM uses to get the mapping from Template Interpreter, stub, and compiled code. So, to support Java-centric AsyncGetCallTrace, we t "only" need Zero to report the proper Java frames from its ZeroStack from the profiling/signal handlers.
- backported by
-
JDK-8278720 Zero: Support AsyncGetCallTrace
- Resolved
-
JDK-8297403 Zero: Support AsyncGetCallTrace
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/842edfe1
-
Commit openjdk/jdk/92aa75b7
-
Review openjdk/jdk17u-dev/885
-
Review openjdk/jdk/5848
(1 links to)