< prev index next >

src/share/vm/runtime/java.cpp

Print this page
rev 13243 : 8179268: Factor out AdaptiveSizePolicy from top-level interfaces CollectorPolicy and CollectedHeap
Reviewed-by: pliden, mgerdin

@@ -74,10 +74,11 @@
 #include "utilities/histogram.hpp"
 #include "utilities/macros.hpp"
 #include "utilities/vmError.hpp"
 #if INCLUDE_ALL_GCS
 #include "gc/cms/concurrentMarkSweepThread.hpp"
+#include "gc/parallel/parallelScavengeHeap.hpp"
 #include "gc/parallel/psScavenge.hpp"
 #endif // INCLUDE_ALL_GCS
 #ifdef COMPILER1
 #include "c1/c1_Compiler.hpp"
 #include "c1/c1_Runtime1.hpp"

@@ -484,11 +485,14 @@
     Universe::print_on(log.info_stream());
     if (log.is_trace()) {
       ClassLoaderDataGraph::dump_on(log.trace_stream());
     }
   }
+
+#if INCLUDE_ALL_GCS
   AdaptiveSizePolicyOutput::print();
+#endif
 
   if (PrintBytecodeHistogram) {
     BytecodeHistogram::print();
   }
 
< prev index next >