JDK-8268673 : Stack walk across optimized entry frame on fresh native thread fails
  • Type: Bug
  • Component: tools
  • Sub-Component: jextract
  • Affected Version: repo-panama
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-06-14
  • Updated: 2021-06-16
  • Resolved: 2021-06-14
Related Reports
Relates :  
Description
When native code creates a new thread and calls a Panama upcall, and during that upcall a stack walk is triggered, getting the sender frame for the entry frame is not possible, and should not be attempted.

For JNI this case is handled already, but for Panama upcalls it is not, and the VM will either hit an assert or crash.