--- old/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp 2020-02-11 20:31:21.557839743 -0500 +++ new/src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp 2020-02-11 20:31:20.341826275 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -336,8 +336,7 @@ return 1; } // check if fault address is within thread stack - if (addr < thread->stack_base() && - addr >= thread->stack_base() - thread->stack_size()) { + if (thread->on_local_stack(addr)) { // stack overflow if (thread->in_stack_yellow_reserved_zone(addr)) { thread->disable_stack_yellow_reserved_zone();