Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalJavaAccess.cpp @ 3706:a59727158259
hide HotSpotMethodResolvedImpl.javaMirror field in debuggers
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 02 Dec 2011 13:31:00 +0100 |
parents | 0e3ec0a4eda4 |
children | 319860ae697a |
comparison
equal
deleted
inserted
replaced
3705:6917cd12e8f8 | 3706:a59727158259 |
---|---|
26 #include "runtime/jniHandles.hpp" | 26 #include "runtime/jniHandles.hpp" |
27 #include "classfile/symbolTable.hpp" | 27 #include "classfile/symbolTable.hpp" |
28 // This function is similar to javaClasses.cpp, it computes the field offset of a (static or instance) field. | 28 // This function is similar to javaClasses.cpp, it computes the field offset of a (static or instance) field. |
29 // It looks up the name and signature symbols without creating new ones, all the symbols of these classes need to be already loaded. | 29 // It looks up the name and signature symbols without creating new ones, all the symbols of these classes need to be already loaded. |
30 | 30 |
31 static void compute_offset(int &dest_offset, klassOop klass_oop, const char* name, const char* signature, bool static_field) { | 31 void compute_offset(int &dest_offset, klassOop klass_oop, const char* name, const char* signature, bool static_field) { |
32 Symbol* name_symbol = SymbolTable::probe(name, (int)strlen(name)); | 32 Symbol* name_symbol = SymbolTable::probe(name, (int)strlen(name)); |
33 Symbol* signature_symbol = SymbolTable::probe(signature, (int)strlen(signature)); | 33 Symbol* signature_symbol = SymbolTable::probe(signature, (int)strlen(signature)); |
34 #ifdef DEBUG | 34 #ifdef DEBUG |
35 if (name_symbol == NULL) { | 35 if (name_symbol == NULL) { |
36 tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass_oop->klass_part()->name()->as_C_string()); | 36 tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass_oop->klass_part()->name()->as_C_string()); |