diff src/share/vm/runtime/frame.inline.hpp @ 10418:ff3c23a329ed

Merge
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Wed, 19 Jun 2013 20:24:27 +0200
parents f2110083203d
children 78112be27ba0
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.inline.hpp	Wed Jun 19 12:24:38 2013 +0200
+++ b/src/share/vm/runtime/frame.inline.hpp	Wed Jun 19 20:24:27 2013 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, 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
@@ -79,6 +79,10 @@
   return StubRoutines::returns_to_call_stub(pc());
 }
 
+inline bool frame::is_stub_frame() const {
+  return StubRoutines::is_stub_code(pc()) || (_cb != NULL && _cb->is_adapter_blob());
+}
+
 inline bool frame::is_first_frame() const {
   return is_entry_frame() && entry_frame_is_first();
 }