diff src/share/vm/c1x/c1x_TargetMethod.cpp @ 1435:20a3896518ac

Initial adjustments to make C1X4HotSpot compile and run with latest Maxine version.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Fri, 22 Oct 2010 17:31:38 +0200
parents 72cfb36c6bb2
children 9c96c873c42b
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_TargetMethod.cpp	Thu Sep 30 17:19:48 2010 -0700
+++ b/src/share/vm/c1x/c1x_TargetMethod.cpp	Fri Oct 22 17:31:38 2010 +0200
@@ -31,6 +31,11 @@
 static void compute_offset(int &dest_offset, klassOop klass_oop, const char* name, const char* signature, bool static_field) {
   symbolOop name_symbol = SymbolTable::probe(name, strlen(name));
   symbolOop signature_symbol = SymbolTable::probe(signature, strlen(signature));
+#ifdef DEBUG
+  if (name_symbol == NULL) {
+    tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass_oop->klass_part()->name()->as_C_string());
+  }
+#endif
   assert(name_symbol != NULL, "symbol not found - class layout changed?");
   assert(signature_symbol != NULL, "symbol not found - class layout changed?");