--- old/src/os_cpu/linux_arm/vm/thread_linux_arm.cpp 2017-06-29 15:57:03.795130993 -0700 +++ new/src/os_cpu/linux_arm/vm/thread_linux_arm.cpp 2017-06-29 15:57:03.611123918 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2017, 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 @@ -94,13 +94,11 @@ return false; } -#if INCLUDE_CDS - if (UseSharedSpaces && MetaspaceShared::is_in_shared_region(addr.pc(), MetaspaceShared::md)) { + if (MetaspaceShared::is_in_trampoline_frame(addr.pc())) { // In the middle of a trampoline call. Bail out for safety. // This happens rarely so shouldn't affect profiling. return false; } -#endif frame ret_frame(ret_sp, ret_fp, addr.pc()); if (!ret_frame.safe_for_sender(jt)) {