8075805: Crash while trying to release CompiledICHolder

Removed nmethod transition to zombie outside of sweeper. Added cleaning of ICs of unloaded nmethods.

Reviewed-by: kvn, iveresov
This commit is contained in:
Tobias Hartmann 2015-08-25 07:49:55 +02:00
parent a9e232a8ef
commit 72e8f28d56
8 changed files with 29 additions and 55 deletions

View file

@ -109,8 +109,8 @@ void VM_Deoptimize::doit() {
// Deoptimize all activations depending on marked nmethods
Deoptimization::deoptimize_dependents();
// Make the dependent methods zombies
CodeCache::make_marked_nmethods_zombies();
// Make the dependent methods not entrant
CodeCache::make_marked_nmethods_not_entrant();
}
void VM_MarkActiveNMethods::doit() {