Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/tools/PStack.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 | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6129:4d399f013e5a | 6163:b87e5a681416 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 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. |
156 } | 156 } |
157 } else { | 157 } else { |
158 printUnknown(out); | 158 printUnknown(out); |
159 } | 159 } |
160 } | 160 } |
161 f = f.sender(); | 161 f = f.sender(th); |
162 } | 162 } |
163 } catch (Exception exp) { | 163 } catch (Exception exp) { |
164 exp.printStackTrace(); | 164 exp.printStackTrace(); |
165 // continue, may be we can do a better job for other threads | 165 // continue, may be we can do a better job for other threads |
166 } | 166 } |