Mercurial > hg > truffle
comparison src/share/vm/classfile/classLoaderData.hpp @ 14190:ce86c36b8921
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 |
comparison
equal
deleted
inserted
replaced
14189:1a899ea6b7ed | 14190:ce86c36b8921 |
---|---|
88 | 88 |
89 static void dump_on(outputStream * const out) PRODUCT_RETURN; | 89 static void dump_on(outputStream * const out) PRODUCT_RETURN; |
90 static void dump() { dump_on(tty); } | 90 static void dump() { dump_on(tty); } |
91 static void verify(); | 91 static void verify(); |
92 | 92 |
93 // expensive test for pointer in metaspace for debugging | |
94 static bool contains(const void* x); | |
93 #ifndef PRODUCT | 95 #ifndef PRODUCT |
94 // expensive test for pointer in metaspace for debugging | |
95 static bool contains(address x); | |
96 static bool contains_loader_data(ClassLoaderData* loader_data); | 96 static bool contains_loader_data(ClassLoaderData* loader_data); |
97 #endif | 97 #endif |
98 | 98 |
99 #if INCLUDE_TRACE | 99 #if INCLUDE_TRACE |
100 private: | 100 private: |