Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
1727:da877bdc9000 | 1728:a62d332029cf |
---|---|
2491 ret_type); | 2491 ret_type); |
2492 } | 2492 } |
2493 } | 2493 } |
2494 | 2494 |
2495 // Must unlock before calling set_code | 2495 // Must unlock before calling set_code |
2496 | |
2496 // Install the generated code. | 2497 // Install the generated code. |
2497 if (nm != NULL) { | 2498 if (nm != NULL) { |
2498 method->set_code(method, nm); | 2499 method->set_code(method, nm); |
2499 nm->post_compiled_method_load_event(); | 2500 nm->post_compiled_method_load_event(); |
2500 } else { | 2501 } else { |
2501 // CodeCache is full, disable compilation | 2502 // CodeCache is full, disable compilation |
2502 // Ought to log this but compile log is only per compile thread | |
2503 // and we're some non descript Java thread. | |
2504 MutexUnlocker mu(AdapterHandlerLibrary_lock); | |
2505 CompileBroker::handle_full_code_cache(); | 2503 CompileBroker::handle_full_code_cache(); |
2506 } | 2504 } |
2507 return nm; | 2505 return nm; |
2508 } | 2506 } |
2509 | 2507 |