8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains

Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.

Reviewed-by: mgerdin, sspitsyn, jmasa
This commit is contained in:
Coleen Phillimore 2014-01-07 13:26:56 -05:00
parent 3e537df17c
commit 469f290817
10 changed files with 43 additions and 54 deletions

View file

@ -655,8 +655,6 @@ inline Metadata* Dependencies::DepStream::recorded_metadata_at(int i) {
} else {
o = _deps->oop_recorder()->metadata_at(i);
}
assert(o == NULL || o->is_metaspace_object(),
err_msg("Should be metadata " PTR_FORMAT, o));
return o;
}