< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Frame.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2015, 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. --- 1,7 ---- /* ! * Copyright (c) 2000, 2017, 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.
*** 428,438 **** VMReg stack0 = VM.getVM().getVMRegImplInfo().getStack0(); if (reg.lessThan(stack0)) { // If it is passed in a register, it got spilled in the stub frame. return regMap.getLocation(reg); } else { ! long spOffset = VM.getVM().getAddressSize() * reg.minus(stack0); return getUnextendedSP().addOffsetTo(spOffset); } } public void oopsDo(AddressVisitor oopVisitor, RegisterMap map) { --- 428,438 ---- VMReg stack0 = VM.getVM().getVMRegImplInfo().getStack0(); if (reg.lessThan(stack0)) { // If it is passed in a register, it got spilled in the stub frame. return regMap.getLocation(reg); } else { ! long spOffset = reg.reg2Stack() * VM.getVM().getVMRegImplInfo().getStackSlotSize(); return getUnextendedSP().addOffsetTo(spOffset); } } public void oopsDo(AddressVisitor oopVisitor, RegisterMap map) {
< prev index next >