comparison agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/CFrame.java @ 6163:b87e5a681416

6310967: SA: jstack -m produce failures in output Summary: While looking for the sender frame check that the frame pointer should not be less than the stack pointer. Reviewed-by: dholmes, sla
author poonam
date Thu, 14 Jun 2012 02:12:46 -0700
parents c18cbe5936b8
children
comparison
equal deleted inserted replaced
6129:4d399f013e5a 6163:b87e5a681416
1 /* 1 /*
2 * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
32 this interface derive from BasicCFrame, which provides some of the 32 this interface derive from BasicCFrame, which provides some of the
33 functionality. */ 33 functionality. */
34 34
35 public interface CFrame { 35 public interface CFrame {
36 /** Returns null when no more frames on stack */ 36 /** Returns null when no more frames on stack */
37 public CFrame sender(); 37 public CFrame sender(ThreadProxy th);
38 38
39 /** Get the program counter of this frame */ 39 /** Get the program counter of this frame */
40 public Address pc(); 40 public Address pc();
41 41
42 /** Get the loadobject in which the PC lies. Returns null if the PC 42 /** Get the loadobject in which the PC lies. Returns null if the PC