comparison src/share/vm/graal/graalCodeInstaller.cpp @ 13630:b1838411e896

Use compile ids assigned by hotspot
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 14 Jan 2014 10:14:31 -0800
parents 4e679d50ba9a
children 5a9afbf72714
comparison
equal deleted inserted replaced
13629:5348da19751d 13630:b1838411e896
399 result = GraalEnv::ok; 399 result = GraalEnv::ok;
400 } else { 400 } else {
401 nmethod* nm = NULL; 401 nmethod* nm = NULL;
402 methodHandle method = getMethodFromHotSpotMethod(HotSpotCompiledNmethod::method(compiled_code)); 402 methodHandle method = getMethodFromHotSpotMethod(HotSpotCompiledNmethod::method(compiled_code));
403 jint entry_bci = HotSpotCompiledNmethod::entryBCI(compiled_code); 403 jint entry_bci = HotSpotCompiledNmethod::entryBCI(compiled_code);
404 jint id = HotSpotCompiledNmethod::id(compiled_code);
404 result = GraalEnv::register_method(method, nm, entry_bci, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table, 405 result = GraalEnv::register_method(method, nm, entry_bci, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table,
405 GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, false, leaf_graph_ids, installed_code, triggered_deoptimizations); 406 GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, id, false, leaf_graph_ids, installed_code, triggered_deoptimizations);
406 cb = nm; 407 cb = nm;
407 } 408 }
408 409
409 if (cb != NULL) { 410 if (cb != NULL) {
410 // Make sure the pre-calculated constants section size was correct. 411 // Make sure the pre-calculated constants section size was correct.