MetaWord* Metaspace::allocate(ClassLoaderData* loader_data, size_t word_size,
MetaspaceObj::Type type, TRAPS) {
+ assert(!THREAD->is_VM_thread(), "metaspace allocation may cause GC, but GC cannot be started in VM thread")
MetaspaceObj::Type type, TRAPS) {
+ assert(!THREAD->is_VM_thread(), "metaspace allocation may cause GC, but GC cannot be started in VM thread")
- relates to
-
JDK-8213250 CDS archive creation aborts due to metaspace object allocation failure
-
- Resolved
-