src/hotspot/share/runtime/frame.inline.hpp
changeset 49480 d7df2dd501ce
parent 47687 fb290fd1f9d4
child 53244 9807daeb47c4
--- 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