The C2 and Graal compilers can eliminate allocations, producing virtual objects, if escape analysis determines that the objects never escape. However, in order to ensure that the objects show up in stack walks, we need a way to materialize these objects (as if they always escape).
One way to do this is to pass the object to a native method, but a compiler intrinsic would be better.
One way to do this is to pass the object to a native method, but a compiler intrinsic would be better.
- relates to
-
JDK-8214584 stackwalk returns null for scalar-replaced value
-
- Open
-
-
JDK-8214583 AccessController.getContext may return wrong value after JDK-8212605
-
- Closed
-
-
JDK-8214585 LiveStackFrameInfo.getLocals does not materialize virtual objects
-
- Open
-
-
JDK-8259316 [REDO] C1/C2 compiler support for blackholes
-
- Resolved
-