hotspot/src/share/vm/utilities/taskqueue.cpp
changeset 15228 e92acc84ade3
parent 14583 d70ee55535f4
child 23858 dae377f5a7c7
equal deleted inserted replaced
15225:40677d8847bd 15228:e92acc84ade3
     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