[jdk17] RFR: 8268717: Upstream: 8268673: Stack walk across optimized entry frame on fresh native thread fails [v2]

Jorn Vernee jvernee at openjdk.java.net
Thu Jun 17 12:53:55 UTC 2021


On Thu, 17 Jun 2021 11:28:54 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Upstream a critical fix from the panama-foreign repo.
>> 
>> See the prior review thread here: https://github.com/openjdk/panama-foreign/pull/558
>> 
>> Testing: tier 1-2, local run of run-test-jdk_foreign.
>
> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add comment about optimized entry frames only being generated on x86_64

src/hotspot/share/runtime/frame.inline.hpp line 59:

> 57:       // in universalUpcallHandler_x86_64.cpp), so is_optimized_entry_frame will
> 58:       // always return false on platforms where optimized_entry_frame_is_first
> 59:       // is not implemented.

Suggestion:

      // Optimized entry frames are only present on certain platforms

-------------

PR: https://git.openjdk.java.net/jdk17/pull/76



More information about the build-dev mailing list