/* src/vm/classcache.h - loaded class cache and loading constraints
- Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
- R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
- C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
- Institut f. Computersprachen - TU Wien
+ Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+ C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
+ E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
+ J. Wenninger, Institut f. Computersprachen - TU Wien
This file is part of CACAO.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
- Contact: cacao@complang.tuwien.ac.at
+ Contact: cacao@cacaojvm.org
Authors: Edwin Steiner
Changes:
- $Id: classcache.h 3810 2005-11-27 14:11:44Z edwin $
+ $Id: classcache.h 4519 2006-02-14 15:53:36Z edwin $
*/
#include <stdio.h> /* for FILE */
+#include "config.h"
+#include "vm/types.h"
+
+#include "vm/hashtable.h"
#include "vm/references.h"
-#include "vm/tables.h"
/* forward declarations *******************************************************/
/* global variables ***********************************************************/
-extern hashtable classcache_hash;
+extern hashtable hashtable_classcache;
-/* structs ********************************************************************/
+/* structs ********************************************************************/
/*----------------------------------------------------------------------------*/
/* The Loaded Class Cache */
classcache_loader_entry *next; /* next loader entry in the list */
};
+
/* function prototypes ********************************************************/
/* initialize the loaded class cache */
bool classcache_add_constraint(classloader *a,classloader *b,utf *classname);
-void classcache_debug_dump(FILE *file);
+#ifndef NDEBUG
+void classcache_debug_dump(FILE *file,utf *only);
+#endif
#endif /* _CLASSCACHE_H */