1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Wed Jan 16 16:30:04 2013 +0100 1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Thu Jan 17 10:25:16 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2013, 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 @@ -3338,7 +3338,7 @@ 1.11 if (Verbose && PrintGC) { 1.12 size_t new_mem_size = _virtual_space.committed_size(); 1.13 size_t old_mem_size = new_mem_size - bytes; 1.14 - gclog_or_tty->print_cr("Expanding %s from %ldK by %ldK to %ldK", 1.15 + gclog_or_tty->print_cr("Expanding %s from " SIZE_FORMAT "K by " SIZE_FORMAT "K to " SIZE_FORMAT "K", 1.16 name(), old_mem_size/K, bytes/K, new_mem_size/K); 1.17 } 1.18 } 1.19 @@ -9203,7 +9203,7 @@ 1.20 if (Verbose && PrintGCDetails) { 1.21 size_t new_mem_size = _virtual_space.committed_size(); 1.22 size_t old_mem_size = new_mem_size + bytes; 1.23 - gclog_or_tty->print_cr("Shrinking %s from %ldK by %ldK to %ldK", 1.24 + gclog_or_tty->print_cr("Shrinking %s from " SIZE_FORMAT "K by " SIZE_FORMAT "K to " SIZE_FORMAT "K", 1.25 name(), old_mem_size/K, bytes/K, new_mem_size/K); 1.26 } 1.27 }