--- old/src/hotspot/share/runtime/handles.cpp 2020-02-19 21:29:54.439571190 -0500 +++ new/src/hotspot/share/runtime/handles.cpp 2020-02-19 21:29:52.752552438 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -51,7 +51,7 @@ } else { \ _thread = Thread::current(); \ } \ - assert (_thread->is_in_stack((address)this), "not on stack?"); \ + assert (_thread->is_in_live_stack((address)this), "not on stack?");\ _thread->metadata_handles()->push((Metadata*)_value); \ } else { \ _thread = NULL; \ @@ -68,7 +68,7 @@ } else { \ _thread = Thread::current(); \ } \ - assert (_thread->is_in_stack((address)this), "not on stack?"); \ + assert (_thread->is_in_live_stack((address)this), "not on stack?");\ _thread->metadata_handles()->push((Metadata*)_value); \ } else { \ _thread = NULL; \