diff -r 5865398439d4 -r d7df2dd501ce src/hotspot/share/runtime/frame.inline.hpp --- a/src/hotspot/share/runtime/frame.inline.hpp Wed Mar 21 17:09:34 2018 -0400 +++ b/src/hotspot/share/runtime/frame.inline.hpp Wed Mar 21 19:45:24 2018 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -63,4 +63,8 @@ } } +inline bool StackFrameStream::is_done() { + return (_is_done) ? true : (_is_done = _fr.is_first_frame(), false); +} + #endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP