1.1 --- a/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -171,8 +171,8 @@ 1.11 "active_workers(): %d new_acitve_workers: %d " 1.12 "prev_active_workers: %d\n" 1.13 " active_workers_by_JT: %d active_workers_by_heap_size: %d", 1.14 - active_workers, new_active_workers, prev_active_workers, 1.15 - active_workers_by_JT, active_workers_by_heap_size); 1.16 + (int) active_workers, (int) new_active_workers, (int) prev_active_workers, 1.17 + (int) active_workers_by_JT, (int) active_workers_by_heap_size); 1.18 } 1.19 assert(new_active_workers > 0, "Always need at least 1"); 1.20 return new_active_workers; 1.21 @@ -545,13 +545,13 @@ 1.22 if (UseGCOverheadLimit && PrintGCDetails && Verbose) { 1.23 if (gc_overhead_limit_exceeded()) { 1.24 gclog_or_tty->print_cr(" GC is exceeding overhead limit " 1.25 - "of %d%%", GCTimeLimit); 1.26 + "of %d%%", (int) GCTimeLimit); 1.27 reset_gc_overhead_limit_count(); 1.28 } else if (print_gc_overhead_limit_would_be_exceeded) { 1.29 assert(gc_overhead_limit_count() > 0, "Should not be printing"); 1.30 gclog_or_tty->print_cr(" GC would exceed overhead limit " 1.31 "of %d%% %d consecutive time(s)", 1.32 - GCTimeLimit, gc_overhead_limit_count()); 1.33 + (int) GCTimeLimit, gc_overhead_limit_count()); 1.34 } 1.35 } 1.36 }