RFR: JDK-8283562: JDK-8282306 breaks gtests on zero

Aleksey Shipilev shade at openjdk.java.net
Wed Mar 23 12:53:30 UTC 2022


On Wed, 23 Mar 2022 12:41:50 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Trivial workaround for zero.
> 
> [JDK-8282306](https://bugs.openjdk.java.net/browse/JDK-8282306) introduced os.is_first_C_frame_vm gtest, but that breaks on zero since the test relies on os::current_frame(), which on all zero platforms is almost empty.
> 
> As a workaround, I disable the test. A potential solution would be to use getcontext(3) in `os::current_frame()`, but lets just exclude the test for now.

Looks fine and trivial.

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

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7920


More information about the hotspot-runtime-dev mailing list