Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalJavaAccess.cpp @ 9338:0266549ff6e0
added support from compiled stubs to be installed as RuntimeStubs and to be able to directly call C/C++ runtime functions (GRAAL-81)
replaced NewArraySlowStubCall with NewArrayRuntimeCall using this support
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 26 Apr 2013 18:36:41 +0200 |
parents | e522a00b91aa |
children | c6f3c1e48f54 |
comparison
equal
deleted
inserted
replaced
9337:e1200d5141fa | 9338:0266549ff6e0 |
---|---|
30 | 30 |
31 void compute_offset(int &dest_offset, Klass* klass, const char* name, const char* signature, bool static_field) { | 31 void compute_offset(int &dest_offset, Klass* klass, 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 #ifndef PRODUCT | 34 #ifndef PRODUCT |
35 if (name_symbol == NULL) { | 35 if (name_symbol == NULL || signature_symbol == NULL) { |
36 tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass->name()->as_C_string()); | 36 tty->print_cr("symbol with name %s was not found in symbol table (klass=%s)", name, klass->name()->as_C_string()); |
37 } | 37 } |
38 #endif | 38 #endif |
39 if (name_symbol == NULL || signature_symbol == NULL) { | 39 if (name_symbol == NULL || signature_symbol == NULL) { |
40 guarantee(false, err_msg("symbol not found - class layout of %s changed?", klass->name()->as_C_string())); | 40 guarantee(false, err_msg("symbol not found - class layout of %s changed?", klass->name()->as_C_string())); |