Mercurial > hg > graal-compiler
comparison src/share/vm/oops/generateOopMap.cpp @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | e9ff18c4ace7 |
children | d1896d1dda3e |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681:126ea7725993 |
---|---|
2109 | 2109 |
2110 void GenerateOopMap::verify_error(const char *format, ...) { | 2110 void GenerateOopMap::verify_error(const char *format, ...) { |
2111 // We do not distinguish between different types of errors for verification | 2111 // We do not distinguish between different types of errors for verification |
2112 // errors. Let the verifier give a better message. | 2112 // errors. Let the verifier give a better message. |
2113 const char *msg = "Illegal class file encountered. Try running with -Xverify:all"; | 2113 const char *msg = "Illegal class file encountered. Try running with -Xverify:all"; |
2114 error_work(msg, NULL); | 2114 _got_error = true; |
2115 // Append method name | |
2116 char msg_buffer2[512]; | |
2117 jio_snprintf(msg_buffer2, sizeof(msg_buffer2), "%s in method %s", msg, | |
2118 method()->name()->as_C_string()); | |
2119 _exception = Exceptions::new_exception(Thread::current(), | |
2120 vmSymbols::java_lang_LinkageError(), msg_buffer2); | |
2115 } | 2121 } |
2116 | 2122 |
2117 // | 2123 // |
2118 // Report result opcodes | 2124 // Report result opcodes |
2119 // | 2125 // |