Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntime.cpp @ 1728:a62d332029cf
6976372: # assert(_owner == Thread::current()) failed: invariant
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Fri, 13 Aug 2010 15:14:00 -0700 |
parents | 126ea7725993 |
children | 3e8fbc61cee8 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Thu Aug 12 23:34:34 2010 -0700 +++ b/src/share/vm/runtime/sharedRuntime.cpp Fri Aug 13 15:14:00 2010 -0700 @@ -2493,15 +2493,13 @@ } // Must unlock before calling set_code + // Install the generated code. if (nm != NULL) { method->set_code(method, nm); nm->post_compiled_method_load_event(); } else { // CodeCache is full, disable compilation - // Ought to log this but compile log is only per compile thread - // and we're some non descript Java thread. - MutexUnlocker mu(AdapterHandlerLibrary_lock); CompileBroker::handle_full_code_cache(); } return nm;