src/share/vm/gc_implementation/shared/vmGCOperations.cpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -165,11 +165,16 @@
       warning("GC locker is held; pre-dump GC was skipped");
     } else {
       ch->collect_as_vm_thread(GCCause::_heap_inspection);
     }
   }
-  HeapInspection::heap_inspection(_out, _need_prologue /* need_prologue */);
+  HeapInspection inspect;
+  inspect.set_csv_format(_csv_format);
+  inspect.set_print_help(_print_help);
+  inspect.set_print_class_stats(_print_class_stats);
+  inspect.set_columns(_columns);
+  inspect.heap_inspection(_out, _need_prologue /* need_prologue */);
 }
 
 
 void VM_GenCollectForAllocation::doit() {
   SvcGCMarker sgcm(SvcGCMarker::MINOR);