Mercurial > hg > truffle
diff src/share/vm/classfile/classLoaderData.hpp @ 17663:40353abd7984
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
Summary: Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.
Reviewed-by: mgerdin, sspitsyn, jmasa
author | coleenp |
---|---|
date | Tue, 07 Jan 2014 13:26:56 -0500 |
parents | 86e6d691f2e1 |
children | 48314d596a04 3cdda110bbb5 |
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoaderData.hpp Mon Feb 10 10:34:52 2014 +0100 +++ b/src/share/vm/classfile/classLoaderData.hpp Tue Jan 07 13:26:56 2014 -0500 @@ -90,9 +90,9 @@ static void dump() { dump_on(tty); } static void verify(); + // expensive test for pointer in metaspace for debugging + static bool contains(const void* x); #ifndef PRODUCT - // expensive test for pointer in metaspace for debugging - static bool contains(address x); static bool contains_loader_data(ClassLoaderData* loader_data); #endif