comparison agent/src/share/classes/sun/jvm/hotspot/utilities/PointerLocation.java @ 1748:3e8fbc61cee8

6978355: renaming for 6961697 Summary: This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
author twisti
date Wed, 25 Aug 2010 05:27:54 -0700
parents c18cbe5936b8
children da91efe96a93
comparison
equal deleted inserted replaced
1747:53dbe853fb3a 1748:3e8fbc61cee8
1 /* 1 /*
2 * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2010, 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.
63 // even "on thread x's stack" 63 // even "on thread x's stack"
64 64
65 InterpreterCodelet interpreterCodelet; 65 InterpreterCodelet interpreterCodelet;
66 CodeBlob blob; 66 CodeBlob blob;
67 // FIXME: add more detail about CodeBlob 67 // FIXME: add more detail about CodeBlob
68 boolean inBlobInstructions; 68 boolean inBlobCode;
69 boolean inBlobData; 69 boolean inBlobData;
70 boolean inBlobOops; 70 boolean inBlobOops;
71 boolean inBlobUnknownLocation; 71 boolean inBlobUnknownLocation;
72 72
73 boolean inStrongGlobalJNIHandleBlock; 73 boolean inStrongGlobalJNIHandleBlock;
140 /** For now, only valid if isInCodeCache is true */ 140 /** For now, only valid if isInCodeCache is true */
141 public CodeBlob getCodeBlob() { 141 public CodeBlob getCodeBlob() {
142 return blob; 142 return blob;
143 } 143 }
144 144
145 public boolean isInBlobInstructions() { 145 public boolean isInBlobCode() {
146 return inBlobInstructions; 146 return inBlobCode;
147 } 147 }
148 148
149 public boolean isInBlobData() { 149 public boolean isInBlobData() {
150 return inBlobData; 150 return inBlobData;
151 } 151 }
231 tty.println("In interpreter codelet \"" + interpreterCodelet.getDescription() + "\""); 231 tty.println("In interpreter codelet \"" + interpreterCodelet.getDescription() + "\"");
232 interpreterCodelet.printOn(tty); 232 interpreterCodelet.printOn(tty);
233 } else if (isInCodeCache()) { 233 } else if (isInCodeCache()) {
234 CodeBlob b = getCodeBlob(); 234 CodeBlob b = getCodeBlob();
235 tty.print("In "); 235 tty.print("In ");
236 if (isInBlobInstructions()) { 236 if (isInBlobCode()) {
237 tty.print("instructions"); 237 tty.print("code");
238 } else if (isInBlobData()) { 238 } else if (isInBlobData()) {
239 tty.print("data"); 239 tty.print("data");
240 } else if (isInBlobOops()) { 240 } else if (isInBlobOops()) {
241 tty.print("oops"); 241 tty.print("oops");
242 } else { 242 } else {