comparison src/share/vm/graal/graalCodeInstaller.cpp @ 7810:5aa05e6f9dee

Remove graalVmIds.cpp. Remove addStub/getStub methods as they were mere skeletons in new implementation.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 18 Feb 2013 19:02:14 -0800
parents 62bcf515831d
children c58f8f4cda69
comparison
equal deleted inserted replaced
7809:0fb4d10bd256 7810:5aa05e6f9dee
360 initialize_buffer(buffer); 360 initialize_buffer(buffer);
361 361
362 const char* cname = java_lang_String::as_utf8_string(_name); 362 const char* cname = java_lang_String::as_utf8_string(_name);
363 blob = BufferBlob::create(strdup(cname), &buffer); // this is leaking strings... but only a limited number of stubs will be created 363 blob = BufferBlob::create(strdup(cname), &buffer); // this is leaking strings... but only a limited number of stubs will be created
364 IF_TRACE_graal_3 Disassembler::decode((CodeBlob*) blob); 364 IF_TRACE_graal_3 Disassembler::decode((CodeBlob*) blob);
365 id = VmIds::addStub(blob->code_begin()); 365 id = (jlong)blob->code_begin();
366 } 366 }
367 367
368 void CodeInstaller::initialize_fields(oop comp_result, methodHandle method) { 368 void CodeInstaller::initialize_fields(oop comp_result, methodHandle method) {
369 _comp_result = HotSpotCompilationResult::comp(comp_result); 369 _comp_result = HotSpotCompilationResult::comp(comp_result);
370 if (!method.is_null()) { 370 if (!method.is_null()) {