src/share/vm/utilities/taskqueue.cpp

changeset 4465
203f64878aab
parent 4299
f34d701e952e
child 6680
78bbf4d43a14
equal deleted inserted replaced
4462:e94ed1591b42 4465:203f64878aab
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
237 } 237 }
238 } 238 }
239 239
240 #ifdef TRACESPINNING 240 #ifdef TRACESPINNING
241 void ParallelTaskTerminator::print_termination_counts() { 241 void ParallelTaskTerminator::print_termination_counts() {
242 gclog_or_tty->print_cr("ParallelTaskTerminator Total yields: %lld " 242 gclog_or_tty->print_cr("ParallelTaskTerminator Total yields: " UINT32_FORMAT
243 "Total spins: %lld Total peeks: %lld", 243 " Total spins: " UINT32_FORMAT " Total peeks: " UINT32_FORMAT,
244 total_yields(), 244 total_yields(),
245 total_spins(), 245 total_spins(),
246 total_peeks()); 246 total_peeks());
247 } 247 }
248 #endif 248 #endif

mercurial