< prev index next >

src/hotspot/share/jfr/recorder/stacktrace/jfrVframeStream.inline.hpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2011, 2026, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -85,6 +85,11 @@
      return;
    }
    next_frame();
  }
  
+ inline int JfrVframeStream::normalized_bci() const {
+   const int value = bci();
+   return value == InvocationEntryBci ? 0 : value;
+ }
+ 
  #endif // SHARE_JFR_RECORDER_STACKTRACE_JFRVFRAMESTREAM_INLINE_HPP
< prev index next >