--- old/src/os_cpu/linux_x86/vm/os_linux_x86.cpp 2018-01-26 00:12:33.171196938 -0500 +++ new/src/os_cpu/linux_x86/vm/os_linux_x86.cpp 2018-01-26 00:12:33.119196941 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2018, 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 @@ -712,8 +712,8 @@ // pthread_attr_getstack() static void current_stack_region(address * bottom, size_t * size) { - if (os::Linux::is_initial_thread()) { - // initial thread needs special handling because pthread_getattr_np() + if (os::is_primordial_thread()) { + // primordial thread needs special handling because pthread_getattr_np() // may return bogus value. *bottom = os::Linux::initial_thread_stack_bottom(); *size = os::Linux::initial_thread_stack_size();