Mercurial > hg > truffle
diff src/share/vm/graal/graalCodeInstaller.cpp @ 3690:f8d7ab42c479
Call NMethodSweeper::possibly_sweep() before registering a method.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 23 Nov 2011 14:52:52 +0100 |
parents | 7958ebb561b0 |
children | 342a54994e05 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Tue Nov 22 11:48:41 2011 +0100 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Nov 23 14:52:52 2011 +0100 @@ -265,7 +265,7 @@ methodHandle method = getMethodFromHotSpotMethod(HotSpotTargetMethod::method(JNIHandles::resolve(target_method_obj))); { 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); + &_implicit_exception_table, GraalCompiler::instance(), _debug_recorder, _dependencies, NULL, -1, true, false, install_code); } method->clear_queued_for_compilation(); }