comparison src/share/vm/graal/graalVMToCompiler.cpp @ 10770:4e6d6122c558

solaris-fastdebug build fixes.
author twisti
date Thu, 11 Jul 2013 10:31:16 -0700
parents e7d07c9bb779
children e1309fc4d17f
comparison
equal deleted inserted replaced
10710:cd28ead65a53 10770:4e6d6122c558
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 #include "precompiled.hpp" 24 #include "precompiled.hpp"
25 #include "classfile/systemDictionary.hpp"
25 #include "graal/graalVMToCompiler.hpp" 26 #include "graal/graalVMToCompiler.hpp"
26 27
27 // this is a *global* handle 28 // this is a *global* handle
28 jobject VMToCompiler::_graalRuntimePermObject = NULL; 29 jobject VMToCompiler::_graalRuntimePermObject = NULL;
29 jobject VMToCompiler::_vmToCompilerPermObject = NULL; 30 jobject VMToCompiler::_vmToCompilerPermObject = NULL;
30 Klass* VMToCompiler::_vmToCompilerPermKlass = NULL; 31 Klass* VMToCompiler::_vmToCompilerPermKlass = NULL;
31 32
32 static Klass* loadClass(Symbol* name) { 33 static Klass* loadClass(Symbol* name) {
33 Klass* klass = SystemDictionary::resolve_or_null(name, SystemDictionary::java_system_loader(), NULL, Thread::current()); 34 Klass* klass = SystemDictionary::resolve_or_null(name, SystemDictionary::java_system_loader(), Handle(), Thread::current());
34 if (klass == NULL) { 35 if (klass == NULL) {
35 tty->print_cr("Could not load class %s", name->as_C_string()); 36 tty->print_cr("Could not load class %s", name->as_C_string());
36 vm_abort(false); 37 vm_abort(false);
37 } 38 }
38 return klass; 39 return klass;