--- a/hotspot/src/share/vm/gc/shared/workgroup.hpp Mon Feb 22 19:25:32 2016 +0000
+++ b/hotspot/src/share/vm/gc/shared/workgroup.hpp Tue Feb 23 09:52:46 2016 +0100
@@ -29,6 +29,7 @@
#include "runtime/globals.hpp"
#include "runtime/thread.hpp"
#include "gc/shared/gcId.hpp"
+#include "logging/log.hpp"
#include "utilities/debug.hpp"
#include "utilities/globalDefinitions.hpp"
@@ -151,6 +152,7 @@
_active_workers = MAX2(1U, _active_workers);
assert(UseDynamicNumberOfGCThreads || _active_workers == _total_workers,
"Unless dynamic should use total workers");
+ log_info(gc, task)("GC Workers: %d", _active_workers);
}
// Return the Ith worker.