Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.cpp @ 3650:0e8a2a629afb
Pass-by compilation broker.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 21:27:28 +0100 |
parents | c7d4198a9bce |
children | 47edfca346ab |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Nov 16 16:46:32 2011 +0100 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Nov 16 21:27:28 2011 +0100 @@ -257,6 +257,7 @@ ThreadToNativeFromVM t((JavaThread*) Thread::current()); nm = GraalEnv::register_method(method, -1, &_offsets, _custom_stack_area_offset, &buffer, stack_slots, _debug_recorder->_oopmaps, &_exception_handler_table, &_implicit_exception_table, GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, false, false, install_code); + method->clear_queued_for_compilation(); } // constructor used to create a stub @@ -363,6 +364,7 @@ } else if (assumption->is_a(CiAssumptions_ConcreteMethod::klass())) { assumption_ConcreteMethod(assumption); } else { + assumption->print(); fatal("unexpected Assumption subclass"); } } @@ -474,7 +476,6 @@ oop hotspot_method = CiCodePos::method(code_pos); methodOop method = getMethodFromHotSpotMethod(hotspot_method); - ciMethod *cimethod = (ciMethod *) _env->get_object(method); jint bci = CiCodePos::bci(code_pos); bool reexecute; if (bci == -1) { @@ -546,9 +547,9 @@ throw_exception = true; } - _debug_recorder->describe_scope(pc_offset, cimethod, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token); + _debug_recorder->describe_scope(pc_offset, method, bci, reexecute, throw_exception, false, false, locals_token, expressions_token, monitors_token); } else { - _debug_recorder->describe_scope(pc_offset, cimethod, bci, reexecute, false, false, false, NULL, NULL, NULL); + _debug_recorder->describe_scope(pc_offset, method, bci, reexecute, false, false, false, NULL, NULL, NULL); } }