comparison src/share/vm/c1x/c1x_Compiler.cpp @ 2284:569d3fe7d65c

non-static VMEntries and VMExits, CompilationServer simplifications
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 07 Apr 2011 15:32:25 +0200
parents 999f8086cc4f
children 12846d31d7ec
comparison
equal deleted inserted replaced
2282:0309d394eb5f 2284:569d3fe7d65c
144 144
145 instanceKlass::cast(HotSpotTypeResolved::klass())->initialize(CHECK_NULL); 145 instanceKlass::cast(HotSpotTypeResolved::klass())->initialize(CHECK_NULL);
146 Handle obj = instanceKlass::cast(HotSpotTypeResolved::klass())->allocate_instance(CHECK_NULL); 146 Handle obj = instanceKlass::cast(HotSpotTypeResolved::klass())->allocate_instance(CHECK_NULL);
147 assert(obj() != NULL, "must succeed in allocating instance"); 147 assert(obj() != NULL, "must succeed in allocating instance");
148 148
149 HotSpotTypeResolved::set_compiler(obj, VMExits::compilerInstance()());
149 150
150 if (klass->oop_is_instance()) { 151 if (klass->oop_is_instance()) {
151 instanceKlass* ik = (instanceKlass*)klass()->klass_part(); 152 instanceKlass* ik = (instanceKlass*)klass()->klass_part();
152 Handle full_name = java_lang_String::create_from_str(ik->signature_name(), CHECK_NULL); 153 Handle full_name = java_lang_String::create_from_str(ik->signature_name(), CHECK_NULL);
153 HotSpotType::set_name(obj, full_name()); 154 HotSpotType::set_name(obj, full_name());