comparison agent/src/share/classes/sun/jvm/hotspot/HSDB.java @ 1385:bc32f286fae0

6945219: minor SA fixes Reviewed-by: twisti
author never
date Tue, 20 Apr 2010 13:26:33 -0700
parents d1605aabd0a1
children c18cbe5936b8
comparison
equal deleted inserted replaced
1384:c544d979f886 1385:bc32f286fae0
1 /* 1 /*
2 * Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 2000-2010 Sun Microsystems, Inc. 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.
983 // Add interpreter frame annotations 983 // Add interpreter frame annotations
984 if (curFrame.isInterpretedFrame()) { 984 if (curFrame.isInterpretedFrame()) {
985 annoPanel.addAnnotation(new Annotation(curFrame.addressOfInterpreterFrameExpressionStack(), 985 annoPanel.addAnnotation(new Annotation(curFrame.addressOfInterpreterFrameExpressionStack(),
986 curFrame.addressOfInterpreterFrameTOS(), 986 curFrame.addressOfInterpreterFrameTOS(),
987 "Interpreter expression stack")); 987 "Interpreter expression stack"));
988 Address monBegin = curFrame.interpreterFrameMonitorBegin().address();
989 Address monEnd = curFrame.interpreterFrameMonitorEnd().address();
990 if (!monBegin.equals(monEnd)) {
991 annoPanel.addAnnotation(new Annotation(monBegin, monEnd,
992 "BasicObjectLocks"));
993 }
988 if (interpreterFrameMethod != null) { 994 if (interpreterFrameMethod != null) {
989 // The offset is just to get the right stack slots highlighted in the output 995 // The offset is just to get the right stack slots highlighted in the output
990 int offset = 1; 996 int offset = 1;
991 annoPanel.addAnnotation(new Annotation(curFrame.addressOfInterpreterFrameLocal(offset), 997 annoPanel.addAnnotation(new Annotation(curFrame.addressOfInterpreterFrameLocal(offset),
992 curFrame.addressOfInterpreterFrameLocal((int) interpreterFrameMethod.getMaxLocals() + offset), 998 curFrame.addressOfInterpreterFrameLocal((int) interpreterFrameMethod.getMaxLocals() + offset),