< prev index next >

src/hotspot/share/memory/metaspace.cpp

Print this page
rev 50310 : [mq]: log-metaspace-oom

*** 1268,1278 **** void Metaspace::report_metadata_oome(ClassLoaderData* loader_data, size_t word_size, MetaspaceObj::Type type, MetadataType mdtype, TRAPS) { tracer()->report_metadata_oom(loader_data, word_size, type, mdtype); // If result is still null, we are out of memory. ! Log(gc, metaspace, freelist) log; if (log.is_info()) { log.info("Metaspace (%s) allocation failed for size " SIZE_FORMAT, is_class_space_allocation(mdtype) ? "class" : "data", word_size); ResourceMark rm; if (log.is_debug()) { --- 1268,1278 ---- void Metaspace::report_metadata_oome(ClassLoaderData* loader_data, size_t word_size, MetaspaceObj::Type type, MetadataType mdtype, TRAPS) { tracer()->report_metadata_oom(loader_data, word_size, type, mdtype); // If result is still null, we are out of memory. ! Log(gc, metaspace, freelist, oom) log; if (log.is_info()) { log.info("Metaspace (%s) allocation failed for size " SIZE_FORMAT, is_class_space_allocation(mdtype) ? "class" : "data", word_size); ResourceMark rm; if (log.is_debug()) {
< prev index next >