Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/frame.hpp @ 4806:eaa9557116a2
7120448: Fix FP values for compiled frames in frame::describe
Summary: fix for debug method frame::describe
Reviewed-by: never, kvn
author | bdelsart |
---|---|
date | Wed, 18 Jan 2012 16:18:31 +0100 |
parents | b20d64f83668 |
children | 5dbed2f542ff |
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.hpp Fri Jan 13 12:58:26 2012 -0800 +++ b/src/share/vm/runtime/frame.hpp Wed Jan 18 16:18:31 2012 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2012, 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 @@ -221,6 +221,15 @@ // returns the stack pointer of the calling frame intptr_t* sender_sp() const; + // Returns the real 'frame pointer' for the current frame. + // This is the value expected by the platform ABI when it defines a + // frame pointer register. It may differ from the effective value of + // the FP register when that register is used in the JVM for other + // purposes (like compiled frames on some platforms). + // On other platforms, it is defined so that the stack area used by + // this frame goes from real_fp() to sp(). + intptr_t* real_fp() const; + // Deoptimization info, if needed (platform dependent). // Stored in the initial_info field of the unroll info, to be used by // the platform dependent deoptimization blobs.