comparison src/share/vm/memory/metaspace.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 209aa13ab8c0
children abec000618bf daef39043d2c
comparison
equal deleted inserted replaced
17662:695a6aba51c3 17663:40353abd7984
223 void deallocate(MetaWord* ptr, size_t byte_size, bool is_class); 223 void deallocate(MetaWord* ptr, size_t byte_size, bool is_class);
224 224
225 MetaWord* expand_and_allocate(size_t size, 225 MetaWord* expand_and_allocate(size_t size,
226 MetadataType mdtype); 226 MetadataType mdtype);
227 227
228 static bool contains(const void *ptr); 228 bool contains(const void* ptr);
229 void dump(outputStream* const out) const; 229 void dump(outputStream* const out) const;
230 230
231 // Free empty virtualspaces 231 // Free empty virtualspaces
232 static void purge(MetadataType mdtype); 232 static void purge(MetadataType mdtype);
233 static void purge(); 233 static void purge();