mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
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:
parent
3e537df17c
commit
469f290817
10 changed files with 43 additions and 54 deletions
|
@ -376,8 +376,6 @@ void Klass::append_to_sibling_list() {
|
|||
}
|
||||
|
||||
bool Klass::is_loader_alive(BoolObjectClosure* is_alive) {
|
||||
assert(ClassLoaderDataGraph::contains((address)this), "is in the metaspace");
|
||||
|
||||
#ifdef ASSERT
|
||||
// The class is alive iff the class loader is alive.
|
||||
oop loader = class_loader();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue