comparison agent/src/share/classes/sun/jvm/hotspot/types/TypeDataBase.java @ 3945:8ed53447f690

Merge
author iveresov
date Thu, 15 Sep 2011 12:44:09 -0700
parents f6f3bb0ee072
children
comparison
equal deleted inserted replaced
3929:f94227b6117b 3945:8ed53447f690
1 /* 1 /*
2 * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2011, 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.
118 addressTypeIsEqualToType for all known types. Returns a matching 118 addressTypeIsEqualToType for all known types. Returns a matching
119 Type for the given address if one was found, or null if none was 119 Type for the given address if one was found, or null if none was
120 found. */ 120 found. */
121 public Type guessTypeForAddress(Address addr); 121 public Type guessTypeForAddress(Address addr);
122 122
123 /** Helper routine for guessing the most derived type of a
124 polymorphic C++ object. Requires a baseType that must be virtual
125 so that lookup can be performed without false positives */
126 public Type findDynamicTypeForAddress(Address addr, Type baseType);
127
123 /** Returns an Iterator over the Types in the database. */ 128 /** Returns an Iterator over the Types in the database. */
124 public Iterator getTypes(); 129 public Iterator getTypes();
125 130
126 /** Returns an Iterator over the String names of the integer 131 /** Returns an Iterator over the String names of the integer
127 constants in the database. */ 132 constants in the database. */