Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/ui/FindInCodeCachePanel.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 |
comparison
equal
deleted
inserted
replaced
1747:53dbe853fb3a | 1748:3e8fbc61cee8 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2004, 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. |
188 add(scroller, BorderLayout.CENTER); | 188 add(scroller, BorderLayout.CENTER); |
189 } | 189 } |
190 | 190 |
191 private void reportResult(StringBuffer result, CodeBlob blob) { | 191 private void reportResult(StringBuffer result, CodeBlob blob) { |
192 result.append("<a href='blob:"); | 192 result.append("<a href='blob:"); |
193 result.append(blob.instructionsBegin().toString()); | 193 result.append(blob.contentBegin().toString()); |
194 result.append("'>"); | 194 result.append("'>"); |
195 result.append(blob.getName()); | 195 result.append(blob.getName()); |
196 result.append("@"); | 196 result.append("@"); |
197 result.append(blob.instructionsBegin()); | 197 result.append(blob.contentBegin()); |
198 result.append("</a><br>"); | 198 result.append("</a><br>"); |
199 } | 199 } |
200 | 200 |
201 private void clearResultWindow() { | 201 private void clearResultWindow() { |
202 SwingUtilities.invokeLater(new Runnable() { | 202 SwingUtilities.invokeLater(new Runnable() { |