Integrated: 8254158: Consolidate per-platform stack overflow handling code

Coleen Phillimore coleenp at openjdk.java.net
Tue Oct 13 20:46:19 UTC 2020


On Mon, 12 Oct 2020 22:28:40 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Moved the duplicated code from posix based platform/cpu combinations into os_posix.cpp.  Left a little function to
> determine frame at stack banging point for compiled methods (you can suggest a better name for it) to capture the
> difference.  There are a bit of ifdefs but now there are less copies.
> 
> Tested with tier1-3 and stack overflow tests in vmTestbase/nsk/stress/stack on
> linux-x86-debug,macosx-x86-debug,windows-x86-debug.  Built aarch64, arm32, ppc, s390, and zero.  Testing on these
> platforms would be welcome.  Thanks,
> Coleen

This pull request has now been integrated.

Changeset: ba5dc67a
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ba5dc67a
Stats:     632 lines in 10 files changed: 119 ins; 464 del; 49 mod

8254158: Consolidate per-platform stack overflow handling code

Reviewed-by: fparain, hseigel

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

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


More information about the hotspot-runtime-dev mailing list