< prev index next >

src/share/vm/services/heapDumper.cpp

Print this page

        

*** 1822,1833 **** JNIGlobalsDumper jni_dumper(writer()); JNIHandles::oops_do(&jni_dumper); check_segment_length(); // HPROF_GC_ROOT_STICKY_CLASS StickyClassDumper class_dumper(writer()); ! SystemDictionary::always_strong_classes_do(&class_dumper); // fixes up the length of the dump record and writes the HPROF_HEAP_DUMP_END record. DumperSupport::end_of_dump(writer()); // Now we clear the global variables, so that a future dumper might run. --- 1822,1835 ---- JNIGlobalsDumper jni_dumper(writer()); JNIHandles::oops_do(&jni_dumper); check_segment_length(); // HPROF_GC_ROOT_STICKY_CLASS + // These should be classes in the NULL class loader data, and not all classes + // if !ClassUnloading StickyClassDumper class_dumper(writer()); ! ClassLoaderData::the_null_class_loader_data()->classes_do(&class_dumper); // fixes up the length of the dump record and writes the HPROF_HEAP_DUMP_END record. DumperSupport::end_of_dump(writer()); // Now we clear the global variables, so that a future dumper might run.
< prev index next >